docker restart

Description

Restart one or more containers

Usage

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

For example uses of this command, refer to the examples section below.

Options

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

Examples

$ docker restart my_container

Parent command

Command Description
docker The base command for the Docker CLI.