Docker start

From NovaOrdis Knowledge Base
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