Command

Docker Restart Compose Services Command

The Docker command to restart compose services is docker compose restart.

Quick Answer

Command
docker compose restart
DockerCommand

Restart Compose Services

Type this command
docker compose restart

Restarts the services defined in the compose file.

Learn More

How to restart compose services in Docker

  1. Open the terminal or command interface for Docker.
  2. Type docker compose restart, replace any placeholders, and run it.

Docker Restart Compose Services Command

Run docker compose restart.

Related Commands

Frequently asked questions

What is the Docker command to restart compose services?

Run docker compose restart.

Where do I type this Docker command?

Type it in the terminal or command-line interface used by Docker.

Does this Docker command work on Mac and Windows?

Yes. The command text is the same on both platforms when the tool is installed.

Official source · How we verify