LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

docker-start

start stopped containers

TLDR

Start a stopped container
$ docker start [container]
copy
Start multiple containers
$ docker start [container1] [container2]
copy
Start with attached output
$ docker start -a [container]
copy
Start interactively
$ docker start -ai [container]
copy

SYNOPSIS

docker start [options] container [container...]

DESCRIPTION

docker start starts one or more stopped containers. Containers retain their configuration from when they were created or last run.

PARAMETERS

-a, --attach

Attach STDOUT/STDERR and forward signals.
-i, --interactive
Attach container's STDIN.
--detach-keys string
Override the key sequence for detaching a container.
--checkpoint string
Restore from this checkpoint.
--checkpoint-dir string
Use a custom checkpoint storage directory.

INSTALL

sudo apt install docker-cli
copy
sudo dnf install docker-cli
copy
sudo pacman -S docker
copy
sudo apk add docker-cli
copy
sudo zypper install docker
copy
brew install docker
copy
nix profile install nixpkgs#docker
copy

SEE ALSO

Copied to clipboard
Kai