[WIP] Tempoprary add 'force' option to NetworkConnectionOptions
What does this MR do?
Adds a Force
option to NetworkConnectionOptions
struct to force stale containers disconnection from networks (which extends the code added in !390 (merged).
This is the temporary fix to test if such workflow will resolve problems described in #1642 (closed). It should be fixed properly with switching to github.com/docker/docker/client
(!301 (merged) - waiting for Docker 1.13 to be released).
Why was this MR needed?
Please read #1642 (closed) for a reference.
Are there points in the code the reviewer needs to double check?
Does this MR meet the acceptance criteria?
-
Documentation created/updated - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Branch has no merge conflicts with master
(if you do - rebase it please)
What are the relevant issue numbers?
Related to #1642 (closed)