This file contains hidden or 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 -dit <image_name> | |
where -dit is a shortcut for: | |
-d : detached mode (run background and avoid logging in your terminal) | |
-t : request a tty to the dockerd (https://www.youtube.com/watch?v=2XLZ4Z8LpEE&t=449s) | |
-i : hold that tty in your current terminal. | |
I hope that this can save your time... | |