我在Windows 7上使用docker并尝试从云端下载图像。在提取下载后我收到错误。以下是日志片段
$images
已经有几个与此问题相关的线程&我尝试过他们提供的解决方案,但他们没有工作。我试图使用以下命令删除所有图像但出现证书错误
cba922442da5: Downloading 5.866 GB/5.866 GB
10d186ab9b98: Download complete
89c26a498cda: Download complete
write /mnt/sda1/var/lib/docker/tmp/GetImageBlob601918967: no space left on devic
e
Tools docker image has been downloaded or upgraded to the newer version success
fully if already exist
Docker配置文件
$ docker ps -a -q
time="2017-03-30T13:09:16+05:30" level=info msg="Unable to use system certificat
e pool: crypto/x509: system root pool is not available on Windows"
Docker信息
{
"ConfigVersion": 3,
"Driver": {
"IPAddress": "192.234.345.231",
"MachineName": "default",
"SSHUser": "docker",
"SSHPort": 53944,
"SSHKeyPath": "C:\\Users\\sbha5\\.docker\\machine\\machines\\default\\id_rsa",
"StorePath": "C:\\Users\\sbha5\\.docker\\machine",
"SwarmMaster": false,
"SwarmHost": "tcp://0.0.0.0:3326",
"SwarmDiscovery": "",
"VBoxManager": {},
"HostInterfaces": {},
"CPU": 1,
"Memory": 1024,
"DiskSize": 60000,
"NatNicType": "82540EM",
"Boot2DockerURL": "",
"Boot2DockerImportVM": "",
"HostDNSResolver": false,
"HostOnlyCIDR": "192.134.77.1/24",
"HostOnlyNicType": "82540EM",
"HostOnlyPromiscMode": "deny",
"UIType": "headless",
"HostOnlyNoDHCP": false,
"NoShare": false,
"DNSProxy": true,
"NoVTXCheck": false,
"ShareFolder": ""
},
"DriverName": "virtualbox",
"HostOptions": {
"Driver": "",
"Memory": 0,
"Disk": 0,
"EngineOptions": {
"ArbitraryFlags": [],
"Dns": null,
"GraphDir": "",
"Env": [],
"Ipv6": false,
"InsecureRegistry": [],
"Labels": [],
"LogLevel": "",
"StorageDriver": "",
"SelinuxEnabled": false,
"TlsVerify": true,
"RegistryMirror": [],
"InstallURL": "https://get.docker.com"
},
"SwarmOptions": {
"IsSwarm": false,
"Address": "",
"Discovery": "",
"Agent": false,
"Master": false,
"Host": "tcp://0.0.0.0:3326",
"Image": "swarm:latest",
"Strategy": "spread",
"Heartbeat": 0,
"Overcommit": 0,
"ArbitraryFlags": [],
"ArbitraryJoinFlags": [],
"Env": null,
"IsExperimental": false
},
"AuthOptions": {
"CertDir": "C:\\Users\\sbha5\\.docker\\machine\\certs",
"CaCertPath": "C:\\Users\\sbha5\\.docker\\machine\\certs\\ca.pem",
"CaPrivateKeyPath": "C:\\Users\\sbha5\\.docker\\machine\\certs\\ca-key.pem",
"CaCertRemotePath": "",
"ServerCertPath": "C:\\Users\\sbha5\\.docker\\machine\\machines\\default\\server.pem",
"ServerKeyPath": "C:\\Users\\sbha5\\.docker\\machine\\machines\\default\\server-key.pem",
"ClientKeyPath": "C:\\Users\\sbha5\\.docker\\machine\\certs\\key.pem",
"ServerCertRemotePath": "",
"ServerKeyRemotePath": "",
"ClientCertPath": "C:\\Users\\sbha5\\.docker\\machine\\certs\\cert.pem",
"ServerCertSANs": [],
"StorePath": "C:\\Users\\sbha5\\.docker\\machine\\machines\\default"
}
},
"Name": "default"
}
如果是内存或存储问题,请告诉我如何增加内存。我使用的是Windows 7。
答案 0 :(得分:8)
首先清理未使用/已停止的图像和容器。
$ docker ps -a
$ docker images -a
$ docker container prune
$ docker image prune
您也可以登录boot2docker并检查文件系统用法:
> boot2docker ssh
$ df -kh
此外,您可以考虑增加boot2docker的卷大小,但我没有在实时文档中找到它(仅this md)。