Open n-arakawa opened 2 years ago
$ docker run -d --name with-mount --rm --mount type=bind,source=/tmp,target=/my_tmp alpine sleep 100 $ rekcod with-mount docker run --name with-mount --runtime runc --restart no -h 48d4cf4d05db -e 'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' -d alpine 'sleep' '100' $ docker run -d --name with-v --rm -v/tmp:/my_tmp alpine sleep 100 $ rekcod with-v docker run --name with-v --runtime runc -v /tmp:/my_tmp --restart no -h 90a795749a37 -e 'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' -d alpine 'sleep' '100'