Last active
August 15, 2018 03:23
-
-
Save niedzielski/2ddbd3ec81d88816f29726585f4a681a to your computer and use it in GitHub Desktop.
Create a quick Docker Ubuntu container.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run \ | |
-it --rm \ | |
-u "$(id -u "$USER"):$(id -g "$USER")" \ | |
-v /etc/group:/etc/group:ro \ | |
-v /etc/passwd:/etc/passwd:ro \ | |
-v "$PWD:/vol" \ | |
ubuntu:18.04 \ | |
bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment