首页 > 解决方案 > 存储在主机上的 Docker 映像的位置不存在

问题描述

我在 Mac Mojave 计算机上安装时遇到问题。我需要从https://github.com/manifold-lang/pymanifold安装一个包,该包保存为 docker 映像。我已经下载了图像,但我不知道它去了哪里。如另一个 stachoverflow question 中所述,它应该转到标准 docker 根目录。

剥离的终端片段

user:bin user-13$ docker info
...
Docker Root Dir: /var/lib/docker
...
user:/ user-13$ cd var/lib/docker
-bash: cd: var/lib/docker: No such file or directory

完整的终端片段

user:bin user-13$ docker info
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 1
Server Version: 17.03.1-ce-rc1
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins: 
 Volume: local
 Network: bridge host ipvlan macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 4ab9917febca54791c5f071a9d1f404867857fcc
runc version: 54296cf40ad8143b62dbcaa1d90e520a2136ddfe
init version: N/A (expected: 949e6facb77383876aeff8a6944dde66b3089574)
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.9.13-moby
Operating System: Alpine Linux v3.5
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.952 GiB
Name: moby
ID: J3ZK:NC6K:Z24D:OFVF:ILXT:EYFH:S54X:EUTO:43PK:ZOVN:KCO7:PODS
**Docker Root Dir: /var/lib/docker**
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 16
 Goroutines: 26
 System Time: 2019-07-21T15:04:44.905694923Z
 EventsListeners: 1
No Proxy: *.local, 169.254/16
Registry: https://index.docker.io/v1/
Experimental: true
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false
user:/ user-13$ cd var/lib/docker
-bash: cd: var/lib/docker: No such file or directory

标签: docker

解决方案


推荐阅读