remove todo
This commit is contained in:
parent
9ac81982e2
commit
4fbda454f7
@ -167,8 +167,6 @@ func createWorker(verbose bool, image string, args []string, env []string, name
|
||||
|
||||
// removeContainer tries to rm a container, selected by Docker ID, and does a rm -f if it fails (e.g. if container is still running)
|
||||
func removeContainer(ID string) error {
|
||||
// TODO: first check if container is running, then try to stop it with a timeout before trying to remove it
|
||||
// if it does not terminate gracefully, try a force remove
|
||||
ctx := context.Background()
|
||||
docker, err := client.NewEnvClient()
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user