Docker exec: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 12: Line 12:


<pre>
<pre>
docker exec -it <running-cotainer-image-name> bash  
docker exec [-u <''uid''>] -it <running-cotainer-image-name> bash  
</pre>
</pre>

Revision as of 22:44, 13 October 2017

External

Internal

Overview

Attaches to a running container.

docker exec [-u <''uid''>] -it <running-cotainer-image-name> bash