I am using Docker for Mac. I don't know where to store the image file.
docker run hello-world
I did. Of course, I don't have a hell0-world image file on hand, so it was pulled.
Unable to find image' hello-world:latest'locally
latest —Pulling from library/hello-world
I checked and found that the image file was stored in /var/lib/docker on various sites, but the docker directory does not exist under /var/lib. Could you tell me where it is?
By the way
docker info
If you try , you will see the following output:
Containers: 1
Running—0
Paused—0
Stopped—1
Images:1
Server Version: 1.12.6
Storage Driver:aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem:extfs
Dirs—3
Dirperm1 Supported—true
Logging Driver: json-file
Cgroup Driver:cgroupfs
Plugins:
Volume:local
Network:null bridge overlay host
Swarm:inactive
Runtimes:runc
Default Runtime: runc
security options:seccomp
Kernel Version: 4.4.41-moby
Operating System: Alpine Linux v3.4
OSType:linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.951 GiB
Name—moby
ID: AIWI:PO46:XT4Y:3T4V:DKNZ:AKAH:ALXA:XIF:NZYO:XD5G:FE6O:S4MT
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
File Descriptors: 22
Goroutines: 29
System Time: 2017-01-19T05:27:23.039809683Z
EventsListeners—1
No Proxy: *.local, 169.254/16
Registry: https://index.docker.io/v1/
WARNING: No kernel memory limit support
Insecure Registries:
127.0.0.0/8
Inside
Root Dir:/var/lib/docker/aufs
It says , but you cannot access this directory. Or rather, there is no directory called docker. Please let me know if you understand.
macos docker
The Docker image file is not stored directly on the macOS file system.
Under User Home Directory:
~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux
contains an image of a virtual machine (Linux) called Docker.qcow2
.
The image file is stored on the machine's file system.
Therefore, /var/lib/docker/aufs
is the path within that virtual machine.
577 Understanding How to Configure Google API Key
570 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
615 Uncaught (inpromise) Error on Electron: An object could not be cloned
571 Who developed the "avformat-59.dll" that comes with FFmpeg?
908 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
© 2024 OneMinuteCode. All rights reserved.