Created
June 4, 2018 11:20
-
-
Save Da-Juan/da9714071fa18463d3eb377c94168342 to your computer and use it in GitHub Desktop.
Run bash in background in a Docker image
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 --name debian9 --hostname debian9 -d debian:9 /bin/bash -c "trap : TERM INT; sleep infinity & wait" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment