Docker start: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 17: Line 17:
==--attach , -a==
==--attach , -a==


By default, the container starts in background. To start in foreground, use -a|--attach
By default, the container starts in background. To start in foreground (attach STDOUT/STDERR and forward signals), use -a|--attach

Revision as of 03:20, 5 December 2017

External

Internal

Overview

Start a previously stopped container; new containers can be created with docker run.

docker start <container-id>

Options

--attach , -a

By default, the container starts in background. To start in foreground (attach STDOUT/STDERR and forward signals), use -a|--attach