diff --git a/components/engine/daemon/container_operations.go b/components/engine/daemon/container_operations.go index c30250622d..507deaf775 100644 --- a/components/engine/daemon/container_operations.go +++ b/components/engine/daemon/container_operations.go @@ -808,7 +808,7 @@ func (daemon *Daemon) disconnectFromNetwork(container *container.Container, n li } if ep == nil { - return fmt.Errorf("container %s is not connected to the network", container.ID) + return fmt.Errorf("container %s is not connected to network %s", container.ID, n.Name()) } if err := ep.Leave(sbox); err != nil {