Use -v to map directories into the container, and use df-h to view disk mounts,show wrong infomation #45879
Labels
area/volumes
kind/bug
Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.
status/0-triage
version/20.10
Description
When i use -v to map directories into the container, and use df-h to view disk mounts,show wrong infomation
When i container ,use the df -h /home/go,but it show the wrong infomation!
But when i use the another images ,such as centos:8,it show the right mount infomation...
Reproduce
Expected behavior
it should be like this :
1.
$ docker exec -it t8 /bin/sh sh-4.4# df -h /home/sx Filesystem Size Used Avail Use% Mounted on /dev/mapper/data-home 291G 218G 59G 79% /home/sx sh-4.4# df -h /home/go Filesystem Size Used Avail Use% Mounted on /dev/mapper/data-home 291G 218G 59G 79% /home/go
docker version
docker info
Additional Info
No response
The text was updated successfully, but these errors were encountered: