Open xf57212 opened 5 years ago
If a build fails with one of these error messages, simply rerunning the build without changing anything usually works. However the builds generally take 10 minutes a piece so it is a decently large waste of time if a handful need to be rerun.
Expected behavior
docker build -t <image name>:<version> <Dockerfile location>
to build without issueActual behavior
Occasionally (4 in 31 builds),
docker build -t <image name>:<version> <Dockerfile location>
will fail to build with the errorcannot commit container <container id> which is dead
orcannot commit container <container id> which is being removed
Steps to reproduce the behavior
Use
docker build -t <image name>:<version>
and sometimes it will happen.Our Dockerfiles start with a centos7 image as a base, but this is in a private repo.
Sample Dockerfile:
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.)