docker - 存储在主机上的 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
解决方案
推荐阅读
- python - KNeighborsClassifier 错误:未知标签类型:“未知”
- azure-aks - 如何修复 nginx 入口的“无法确保负载均衡器”错误
- python - 有没有办法在不同的类之间共享def?
- c# - $mdDialog.show(confirm) 的问题,无法在 AngularJS 中执行此对话框指令下方的代码
- oracle - 通过 out 函数逐行获取变量值的最佳方法是什么?
- mysql - MySQL NDB Cluster:禁用表/数据库的复制
- osmnx - 我们可以使用 OSMnx 从 OSM 中提取不同年份的 Street Networks 吗?让我说 2000 年、2005 年、2010 年和 2015 年
- java - 在处理中将 true 语句返回为 false
- node.js - 如何将本地 node_modules 文件夹部署到 heroku
- python - Rasa FormAction 没有得到值