docker restart

Estimated reading time: 1 minute

Description

Restart one or more containers

Usage

docker restart [OPTIONS] CONTAINER [CONTAINER...]

Options

Name, shorthand Default Description
--time, -t 10 Seconds to wait for stop before killing the container

Parent command

Command Description
docker The base command for the Docker CLI.

Extended description

Alias for docker container restart.

chat icon Feedback? Suggestions? Can't find something in the docs?
Edit this page Request docs changes Get support
Rate this page: