mirror of
https://github.com/docker/compose.git
synced 2025-04-07 19:55:07 +02:00
Make the compose message on start mean something
This commit is contained in:
parent
33758f0764
commit
13327ac617
@ -228,7 +228,7 @@ func addTag(groupDefinition *containerinstance.ContainerGroup, tagName string) {
|
||||
func (cs *aciContainerService) Start(ctx context.Context, containerID string) error {
|
||||
groupName, containerName := getGroupAndContainerName(containerID)
|
||||
if groupName != containerID {
|
||||
msg := "cannot delete service %q from compose application %q, you can delete the entire compose app with docker compose down --project-name %s"
|
||||
msg := "cannot start specified service %q from compose application %q, you can update and restart the entire compose app with docker compose up --project-name %s"
|
||||
return errors.New(fmt.Sprintf(msg, containerName, groupName, groupName))
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user