Docker exec: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 14: Line 14:
docker exec [-u <''uid''>] -it <running-cotainer-image-name> bash  
docker exec [-u <''uid''>] -it <running-cotainer-image-name> bash  
</pre>
</pre>
=Options=
==-i==
Interactive.
==-t==
Allocated pseudo-TTY

Revision as of 20:30, 16 October 2017

External

Internal

Overview

Attaches to a running container.

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

Options

-i

Interactive.

-t

Allocated pseudo-TTY