mirror of https://github.com/docker/docs.git
commit
ca0a9913c3
|
@ -100,7 +100,7 @@ func (container *Container) setupLinkedContainers() ([]string, error) {
|
||||||
|
|
||||||
childBridgeSettings := child.NetworkSettings.Networks["bridge"]
|
childBridgeSettings := child.NetworkSettings.Networks["bridge"]
|
||||||
if childBridgeSettings == nil {
|
if childBridgeSettings == nil {
|
||||||
return nil, fmt.Errorf("container %d not attached to default bridge network", child.ID)
|
return nil, fmt.Errorf("container %s not attached to default bridge network", child.ID)
|
||||||
}
|
}
|
||||||
|
|
||||||
link := links.NewLink(
|
link := links.NewLink(
|
||||||
|
|
Loading…
Reference in New Issue