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

我的碼頭安裝有什麼問題,我該如何增加基礎大小?

+0

你確定你需要的所有1.4GB發送到後臺程序?如果您需要,Docker問題頁面上的[評論](https://github.com/docker/docker/issues/23470#issuecomment-248332511)可能會有所幫助。 – jrbeverly

+1

我不知道,因爲這是我第一次嘗試構建圖像。它包含幾個應用程序,我不知道它是否是將所有內容放在一個圖像中的正確方法。謝謝,我們將研究它 –

+0

我不知道應用程序有多大,但使用[dockerignore](https://docs.docker.com/engine/reference/builder/#/dockerignore-file)或[ 'COPY'](https://docs.docker.com/engine/reference/builder/#copy)可能會有所幫助。 – jrbeverly

回答

0

從來就重新安裝泊塢窗,現在它似乎工作

相關問題