Docker and CI/CD · Junior · Question 36 of 75

What do the -it flags give you?

Explanation

-i keeps stdin open and -t allocates a pseudo-terminal, which shells and REPLs need. Scripts in CI usually don't need either.

Further reading

Problem with a question

Docker and CI/CD · Junior · question 36

Test yourself

Take the Docker and CI/CD · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz