Skip to main content
3 events
when toggle format what by license comment
Apr 10, 2020 at 13:57 comment added BMitch @EdwardArrow the command runs a container based on the busybox image with the volume mounted. It then runs the df command in that volume directory. And when the df command completes the container exits and the --rm automatically deletes the container. See docker container run --help for more details on the options.
Apr 10, 2020 at 5:09 comment added Aaditya R Krishnan Can you please explain this command docker container run --rm -v "${volume_name}:/volume" -w /volume busybox df -P
Apr 9, 2020 at 14:17 history answered BMitch CC BY-SA 4.0