Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 975 Bytes

File metadata and controls

50 lines (33 loc) · 975 Bytes
title container-compose restart
description Restart running containers.

container-compose restart

Restart running containers without re-creating them.

Synopsis

container-compose restart [global-options] [options] [services...]

Options

Flag Shorthand Type Default Description
--file -f path The path to your Docker Compose file
--profile string Specify a profile to enable. Can be specified multiple times.

Arguments

Argument Description
services Specify the services to restart

Examples

Restart all services

Restart all containers for the project.

container-compose restart

Restart a specific service

Only restart the web service.

container-compose restart web

See also