我的泊塢窗有問題。 我已經下載了一個圖像,碼頭顯示其大小約600Mb。 但是在磁盤上,在/ usr/lib/docker /中它使用的差不多是6Gb。Docker/vfs文件夾大小
這裏是像拉在我的文件夾:
/..
27.9 MiB [##########] /tmp
236.0 KiB [ ] /image
60.0 KiB [ ] /network
8.0 KiB [ ] /vfs
e 4.0 KiB [ ] /volumes
e 4.0 KiB [ ] /trust
e 4.0 KiB [ ] /containers
這裏是圖像後拉:
/..
5.8 GiB [##########] /vfs
27.9 MiB [ ] /tmp
2.2 MiB [ ] /image
60.0 KiB [ ] /network
e 4.0 KiB [ ] /volumes
e 4.0 KiB [ ] /trust
e 4.0 KiB [ ] /containers
圖像本身:
REPOSITORY TAG IMAGE ID CREATED SIZE
docker.io/bitnami/mariadb latest f5dbed792113 8 days ago 598.1 MB
和它的歷史:
IMAGE CREATED CREATED BY SIZE COMMENT
f5dbed792113 8 days ago /bin/sh -C#(nop) CMD ["/run.sh"] 0 B
<missing> 8 days ago /bin/sh -C#(nop) ENTRYPOINT &{["/app-entrypo 0 B
<missing> 8 days ago /bin/sh -C#(nop) EXPOSE 3306/tcp 0 B
<missing> 8 days ago /bin/sh -C#(nop) VOLUME [/bitnami/mariadb] 0 B
<missing> 8 days ago /bin/sh -C#(nop) ENV ALLOW_EMPTY_PASSWORD=no 0 B
<missing> 8 days ago /bin/sh -C#(nop) COPY dir:c5bea93fb9ce36dc47 3.758 kB
<missing> 8 days ago /bin/sh -c bitnami-pkg unpack mariadb-10.1.23 482.1 MB
<missing> 8 days ago /bin/sh -c install_packages libaio1 libc6 lib 12.29 MB
<missing> 8 days ago /bin/sh -C#(nop) LABEL maintainer=Bitnami <c 0 B
<missing> 3 weeks ago /bin/sh -C#(nop) ENTRYPOINT &{["/entrypoint. 0 B
<missing> 3 weeks ago /bin/sh -C#(nop) COPY dir:21a422cab8e9367936 10.17 kB
<missing> 3 weeks ago /bin/sh -C#(nop) ENV BITNAMI_IMAGE_VERSION=j 0 B
<missing> 3 weeks ago /bin/sh -C#(nop) ENV PATH=/opt/bitnami/nami/ 0 B
<missing> 3 weeks ago /bin/sh -c cd /tmp && gpg --keyserver hkp:/ 1.423 MB
<missing> 3 weeks ago /bin/sh -C#(nop) ENV GOSU_VERSION=1.10 GOSU_ 0 B
<missing> 3 weeks ago /bin/sh -c cd /tmp && gpg --keyserver hkp:/ 40.76 kB
<missing> 3 weeks ago /bin/sh -C#(nop) ENV TINI_VERSION=v0.13.2 0 B
<missing> 3 weeks ago /bin/sh -c cd /tmp && curl -sSLO https://na 16.77 MB
<missing> 3 weeks ago /bin/sh -C#(nop) ENV NAMI_VERSION=0.0.6-0 0 B
<missing> 3 weeks ago /bin/sh -c install_packages curl ca-certifica 34.3 MB
<missing> 3 weeks ago /bin/sh -C#(nop) LABEL maintainer=Bitnami <c 0 B
<missing> 3 weeks ago 51.14 MB from Bitnami with love
我是新來的Docker,這是正常的嗎?
我覺得很瘋狂。整個Linux虛擬機可能比這個mariadb映像更小。
我該如何解決這個問題? 我的搬運工信息:
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 1
Server Version: 1.10.3
Storage Driver: vfs
Execution Driver: native-0.2
Logging Driver: journald
Plugins:
Volume: local
Network: bridge null host
Kernel Version: 2.6.32-042stab120.20
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
Number of Docker Hooks: 2
CPUs: 1
Total Memory: 512 MiB
WARNING: No oom kill disable support
WARNING: bridge-nf-call-ip6tables is disabled
Registries: docker.io (secure)
對我來說,只有在磁盤上提高600MB:'3.4G \t/var/lib/docker/aufs' - >'4.0G \t/var/lib/docker/aufs'。你的碼頭1.10有點舊版本 – Robert
你看?這很奇怪。是的,我知道,但這個版本是最新的,我的VPS提供商支持。 –
而我沒有vfs目錄 – Robert