Skip to content

Commit

Permalink
Assign network endpoints to config object
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosnils committed Aug 25, 2017
1 parent 6941b8b commit 1917696
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ func (d *docker) CreateContainer(opts CreateContainerOpts) (string, error) {
ec[netId] = es
}

networkConf.EndpointsConfig = ec
container, err := d.c.ContainerCreate(context.Background(), cf, h, networkConf, opts.ContainerName)

if err != nil {
Expand Down

0 comments on commit 1917696

Please sign in to comment.