nexdrew / rekcod

docker inspect :mag: → docker run :runner:
ISC License
371 stars 32 forks source link

Mount with '--mount' is not supported. #85

Open n-arakawa opened 2 years ago

n-arakawa commented 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'