fix(network): pass IPAM options when creating networks · docker/compose@9398cb8 · GitHub
Skip to content

Commit 9398cb8

Browse files
committed
fix(network): pass IPAM options when creating networks
createNetwork built the IPAM object in two separate blocks; the second silently overwrote createOpts.IPAM with a fresh empty struct and never forwarded n.Ipam.Options to the daemon. Consolidate into a single block covering driver, config pool, and options. Fixes #13785 Supersedes #13936 Signed-off-by: Guillaume Lours <glours@users.noreply.github.com>
1 parent f8ed846 commit 9398cb8

2 files changed

Lines changed: 40 additions & 19 deletions

File tree

‎pkg/compose/create.go‎

Lines changed: 4 additions & 19 deletions

‎pkg/compose/executor_test.go‎

Lines changed: 36 additions & 0 deletions

0 commit comments

Comments
 (0)