diff options
author | Paul Holzinger <pholzing@redhat.com> | 2021-06-11 15:05:52 +0200 |
---|---|---|
committer | Paul Holzinger <pholzing@redhat.com> | 2021-06-11 16:00:12 +0200 |
commit | 44d9c453d36f18eee93b1dbaf3158f0215521301 (patch) | |
tree | ea8f64976febe6c5ddbc5db528c02f82f06534af /libpod/volume_internal.go | |
parent | dffbf16b24ba971a96db753100b7f43f5d6df3f8 (diff) | |
download | podman-44d9c453d36f18eee93b1dbaf3158f0215521301.tar.gz podman-44d9c453d36f18eee93b1dbaf3158f0215521301.tar.bz2 podman-44d9c453d36f18eee93b1dbaf3158f0215521301.zip |
Fix network connect race with docker-compose
Network connect/disconnect has to call the cni plugins when the network
namespace is already configured. This is the case for `ContainerStateRunning`
and `ContainerStateCreated`. This is important otherwise the network is
not attached to this network namespace and libpod will throw errors like
`network inspection mismatch...` This problem happened when using
`docker-compose up` in attached mode.
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'libpod/volume_internal.go')
0 files changed, 0 insertions, 0 deletions