Difficulty: Beginner
What do the '-i' and '-t' flags do in 'docker run -it'?
`-i` (interactive) keeps STDIN open; `-t` (tty) allocates a pseudo-TTY (terminal).
CLI, Terminal
JavaScript is required for the interactive version of this page, including the code playground and progress tracking. Browse all InternHack tutorials.