apache / apache/beam

Docker unable to remove container image because container is running

Open
#20,665 0 comments 0 reactions 0 assignees View on GitHub
build core failing test improvement java P3 tests
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

Sometimes Jenkins jobs fail to cleanup the container images because the container is not yet shutdown. The failure looks like this,

 
```

14:41:52 Error response from daemon: conflict: unable to remove repository reference "us.gcr.io/apache-beam-testing/java-postcommit-it/java:20201113182944"
(must force) - container c28427d037c9 is using its referenced image 55ebc4bc6c8c

```

Adding the `–force` flag to the rmi command should resolve the issue.

Imported from Jira [BEAM-11263](https://issues.apache.org/jira/browse/BEAM-11263). Original Jira may contain additional context.
Reported by: tysonjh.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.