Repo Added
|
Build
257
Last
|
Files
83
|
Badge
README BADGES
|
github
container/docker: start containers without AutoRemove If the AutoRemove field is set to true, then: 1. StopContainer RPC calls (including the call to StopContainer made as part of the UpdateContainer RPC) will fail as the line https://github.com/openconfig/containerz/blob/012a091c1/containers/docker/container_stop.go#L51 will send a stop signal, as well as triggering the container to be removed automatically. This will cause the subsequent m.client.ContainerRemove call to fail with an error as the container removal is already in process. 2. Containers cannot be started with a restart policy (docker will fail to start the container if it has a non-nil restart policy while AutoRemove is true. So this field can be left as false, and the removal is ensured by the StopContainer RPC call anyway.
1607 of 2540 relevant lines covered (63.27%)
0.71 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|
![]() |
Badge your Repo: containerzWe detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.Could not find badge in README. |
|
Embed ▾
README BADGES
|