Docker exec: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "==exec== <pre> docker exec -it <image-name> bash </pre>")
 
No edit summary
Line 1: Line 1:
==exec==
=Internal=
 
* [[Docker Client Operations#exec|Client Operations]]
 
=Overview=
 
Attaches to a running container.


<pre>
<pre>
docker exec -it <image-name> bash  
docker exec -it <running-cotainer-image-name> bash  
</pre>
</pre>

Revision as of 14:39, 19 April 2017

Internal

Overview

Attaches to a running container.

docker exec -it <running-cotainer-image-name> bash