|
Ran
|
Jobs
1
|
Files
83
|
Run time
1min
|
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
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 14034803129.1 | 83 |
63.27 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|