Docker exec

From NovaOrdis Knowledge Base
Revision as of 07:01, 26 November 2017 by Ovidiu (talk | contribs) (→‎Options)
Jump to navigation Jump to search

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

Scenarios

Attach to a Running Container