Docker
The following command runs a container with full privileges with Ubuntu system.$ docker run -ti --rm --privileged=true ubuntu /bin/bash
When using volumes, the parameter :ro can be used to indicate the path to the declared volume:
$ docker run -v $(pwd) :/pwd:ro debian touch /pwd/x
$ docker build -t "test dockerfile" .
Add comment