How do you attach a running container?

How do you attach a running container?
Answer
The docker exec and docker attach commands allow you to connect to a running container. To get an interactive shell to a container, use the exec command to start a new shell session. The attach command attaches your terminal to a running container.
 

Tìm kiếm

Back
Top