| title | container-compose restart |
|---|---|
| description | Restart running containers. |
Restart running containers without re-creating them.
container-compose restart [global-options] [options] [services...]| 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. |
| Argument | Description |
|---|---|
services |
Specify the services to restart |
Restart all containers for the project.
container-compose restartOnly restart the web service.
container-compose restart web