Search exams, classes and guides
Search...
English
Sign in
Sign in
Home
Practice
Discover
Performance
More
CompTIA Linux+ XK0-006
Services and User Management
Card 29 of 133
29 / 133
Which command opens an interactive shell inside an already running container named web?
Front
Which command opens an interactive shell inside an already running container named web?
Back
docker exec -it web /bin/bash (or /bin/sh if bash is not installed). The -i flag keeps stdin open and -t allocates a pseudo-terminal, and unlike docker run it starts no new container.
Show the back
Press the card to see the back
Study this deck