Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run command container naming is not race condition safe #1680

Closed
shulcsm opened this issue Jul 10, 2015 · 1 comment
Closed

run command container naming is not race condition safe #1680

shulcsm opened this issue Jul 10, 2015 · 1 comment

Comments

@shulcsm
Copy link

shulcsm commented Jul 10, 2015

$ seq 10 | parallel docker-compose run --rm web sleep 5
Conflict. The name "omd2_web_run_3" is already in use by container ab66ff04dcce. You have to delete (or rename) that container to be able to reuse that name.
Conflict. The name "omd2_web_run_3" is already in use by container ab66ff04dcce. You have to delete (or rename) that container to be able to reuse that name.
Conflict. The name "omd2_web_run_3" is already in use by container ab66ff04dcce. You have to delete (or rename) that container to be able to reuse that name.
Conflict. The name "omd2_web_run_4" is already in use by container 69ad87a6084c. You have to delete (or rename) that container to be able to reuse that name.
Conflict. The name "omd2_web_run_4" is already in use by container 69ad87a6084c. You have to delete (or rename) that container to be able to reuse that name.
Conflict. The name "omd2_web_run_5" is already in use by container 545140512d4e. You have to delete (or rename) that container to be able to reuse that name.

This an issue when scheduling multiple run commands in cron for instance.

@dnephin
Copy link

dnephin commented Jul 10, 2015

Yup, this will be address in #1516, and something we need to do pretty soon.

Going to close this issue. We'll be tracking the work in #1516.

@dnephin dnephin closed this as completed Jul 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants