我的Docker详细信息
客户端:
Version: 1.11.0
API version: 1.23
Go version: go1.7.1
Git commit: 4dc5990
Built:
OS/Arch: linux/amd64
服务器:
Version: 1.11.0
API version: 1.23
Go version: go1.7.1
Git commit: 4dc5990
Built:
OS/Arch: linux/amd64
Docker Info:
Containers: 2
Running: 2
Paused: 0
Stopped: 0
Images: 4
Server Version: 1.11.0
Storage Driver: devicemapper
Pool Name: docker-8:4-265450-pool
Pool Blocksize: 65.54 kB
Base Device Size: 10.74 GB
Backing Filesystem: ext4
Data file: /dev/loop0
Metadata file: /dev/loop1
Data Space Used: 5.829 GB
Data Space Total: 107.4 GB
Data Space Available: 3.752 GB
Metadata Space Used: 7.508 MB
Metadata Space Total: 2.147 GB
Metadata Space Available: 2.14 GB
Udev Sync Supported: true
Deferred Removal Enabled: false
Deferred Deletion Enabled: false
Deferred Deleted Device Count: 0
Data loop file: /var/lib/docker/devicemapper/devicemapper/data
WARNING: Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning.
Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
Library Version: 1.02.93 (2015-01-30)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: null host bridge
Kernel Version: 4.4.21-gentoo
Operating System: Gentoo/Linux
OSType: linux
Architecture: x86_64
CPUs: 3
Total Memory: 2.935 GiB
Name: valor-app-6
ID: 3PRF:EPCR:CIT5:WJCZ:WVOJ:OGGA:X6MA:BRLT:L2YE:7KUO:XT6G:RAHJ
Docker Root Dir: /var/lib/docker
Debug mode (client): false
Debug mode (server): false
Registry: https://index.docker.io/v1/
我的/ var / lib / docker显示:
492K containers
8.8G devicemapper
20M image
40K network
4.0K tmp
4.0K trust
28K volumes
8.8G total
主机上只运行了2个容器,但磁盘大小逐日增加。 在没有报告问题的其他主机/虚拟机上使用相同的docker版本。 请帮帮我。
随后的docker devicemapper数据文件大小呈指数增长#22659但没有发现任何有用的信息。
答案 0 :(得分:0)
您可以尝试清理未使用的容器,悬空图像,未使用的卷......使用:
docker system prune --volumes -f