I recently installed docker 1.12.6 on fedora 25 workstation. More or less from the start I set this up with direct-lvm according to the info on docker.com.
However, when running a container, I still get shm and devicemapper folder with rootfs mounted.
It’s not a json logging issue because I use the standard journald-logger driver.
docker info
Containers: 3
Running: 2
Paused: 0
Stopped: 1
Images: 84
Server Version: 1.12.6
Storage Driver: devicemapper
Pool Name: vg_sdc-dockerthinpool
Pool Blocksize: 524.3 kB
Base Device Size: 10.74 GB
Backing Filesystem: xfs
Data file:
Metadata file:
Data Space Used: 1.568 GB
Data Space Total: 32.21 GB
Data Space Available: 30.64 GB
Metadata Space Used: 647.2 kB
Metadata Space Total: 1.074 GB
Metadata Space Available: 1.073 GB
Thin Pool Minimum Free Space: 3.221 GB
Udev Sync Supported: true
Deferred Removal Enabled: true
Deferred Deletion Enabled: true
Deferred Deleted Device Count: 0
Library Version: 1.02.136 (2016-11-05)
Logging Driver: journald
Cgroup Driver: systemd
Plugins:
Volume: local
Network: null host overlay bridge
Swarm: inactive
Runtimes: oci runc
Default Runtime: oci
Security Options: seccomp selinux
Kernel Version: 4.9.14-200.fc25.x86_64
Operating System: Fedora 25 (Workstation Edition)
OSType: linux
Architecture: x86_64
Number of Docker Hooks: 2
CPUs: 4
Total Memory: 11.73 GiB
Name: francis.crapco.labs
ID: 67DU:VXZ2:Z7CI:N3V7:LW6S:FSH6:USZS:KYLG:FIO7:GJS4:BGRQ:O5JF
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Insecure Registries:
127.0.0.0/8
Registries: docker.io (secure)
/dev/dm-32 10G 228M 9.8G 3% /var/lib/docker/devicemapper/mnt/8830c14207612a5413e4f7341eb815d540eb0f6e887fc38e297081c58b2321ce
shm 64M 0 64M 0% /var/lib/docker/containers/c77bc2597cfa3f5d92ce6a1d2c2ccc676b0d1799d91856023a1f1174b3cbb27b/shm
/dev/dm-33 10G 451M 9.6G 5% /var/lib/docker/devicemapper/mnt/bb4598d7d10118d904efd2dbbd6299ee91f267ff47c6affa7b3585f15982a476
shm 64M 0 64M 0% /var/lib/docker/containers/71ed60e554253703de76dfb785805203abc8f4456dc6637b8c229ce475377043/shm
options: (docker file in sysconfig)
OPTIONS=’–selinux-enabled --log-driver=journald --storage-driver=devicemapper --storage-opt=dm.thinpooldev=/dev/mapper/vg_sdc-dockerthinpool --storage-opt=dm.use_deferred_removal=true --storage-opt=dm.use_deferred_deletion=true’
Haven’t used the docker-storage service.
I’ve been reading docs and googling but apart from another post here on the forum where the issue was logs in json format I haven’t found anything.
Normally, with the devicemapper directlvm setup I shouldn’t see any shm or other docker mountpoints at all, right? I know /var/lib/docker still holds the named volume if the graphics aren’t changed.
lvs vg_sdc
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
dockerthinpool vg_sdc twi-aot— 30.00g 4.87 0.06
thanks for any light on this issue, I hope it’s just misunderstanding from my part.