mirror of https://github.com/docker/compose.git
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…
Reference in New Issue