Docker exec: Difference between revisions
Jump to navigation
Jump to search
Line 24: | Line 24: | ||
Allocated pseudo-TTY | Allocated pseudo-TTY | ||
=Scenarios= | |||
==Attach to a Running Container== |
Revision as of 07:01, 26 November 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