The container name "X" is already in use by container...

Troubleshooting Guide

Example of error:

The container name "X" is already in use by container...

 

You may see this if you're using Docker Layer Caching on the machine executor. When Docker Layer Caching is enabled on the machine executor, the environment is persisted between builds.

 

You'll need to manually stop running Docker containers that you've started to prevent naming conflicts between builds. This can be done in a run step at the end of your config.yml 

Was this article helpful?
2 out of 10 found this helpful

Comments

0 comments

Article is closed for comments.