Docker start

From NovaOrdis Knowledge Base
Revision as of 03:39, 5 December 2017 by Ovidiu (talk | contribs) (→‎Overview)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

External

Internal

Overview

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

docker start <container-id>

A container started with 'docker start' regains access to the transient state from previous runs, preserved in its writable layer.

Options

--attach , -a

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