0
当我想在Windows上构建映像时,我遇到了一个奇怪的问题。我没有使用码头工具来完成其他任何事情,所以安装可以被认为是新鲜的。根本没有卷,没有图像。Docker构建导致Windows 10上“设备上没有剩余空间”
当我正尝试从我Dockerfile构建我的应用程序,它与此错误
docker build ./
Sending build context to Docker daemon 1.4 GB
Error response from daemon: Error processing tar file(exit status 1): write /.bowerrc: no space left on device
从来就阅读,你可以增加泊坞窗的basesize完成,但我haven't找到了解决办法对于适用于Windows(这是为什么即使在默认情况下限制?)
泊坞窗信息打印一些东西,但它doesn't在所有
$ docker info
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 0
Server Version: 1.13.1
Storage Driver: overlay2
Backing Filesystem: tmpfs
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: aa8187dbd3b7ad67d8e5e3a15115d3eef43a7ed1
runc version: 9df8b306d01f59d3a8029be411de015b7304dd8f
init version: 949e6fa
Security Options:
seccomp
Profile: default
Kernel Version: 4.9.8-moby
Operating System: Alpine Linux v3.5
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.934 GiB
Name: moby
ID: GUXQ:KPKS:PHBV:BMEF:QHHM:B2YG:MWPB:2W5H:Z3GX:27YS:QBT6:O4RV
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
File Descriptors: 13
Goroutines: 21
System Time: 2017-02-19T20:15:57.8764828Z
EventsListeners: 0
Registry: https://index.docker.io/v1/
Experimental: true
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
显示有关在“存储驱动程序”的basesize什么
根据在互联网上一些帖子,这是一次还是走在Linux上的方式,但它在Windows doesn't工作
码头工人守护--storage拉拢dm.basesize = 20G
我的码头安装有什么问题,我该如何增加基础大小?
你确定你需要的所有1.4GB发送到后台程序?如果您需要,Docker问题页面上的[评论](https://github.com/docker/docker/issues/23470#issuecomment-248332511)可能会有所帮助。 – jrbeverly
我不知道,因为这是我第一次尝试构建图像。它包含几个应用程序,我不知道它是否是将所有内容放在一个图像中的正确方法。谢谢,我们将研究它 –
我不知道应用程序有多大,但使用[dockerignore](https://docs.docker.com/engine/reference/builder/#/dockerignore-file)或[ 'COPY'](https://docs.docker.com/engine/reference/builder/#copy)可能会有所帮助。 – jrbeverly