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

VOLUMERIZE_CONTAINERS stop start order #48

Closed
dicastro opened this issue Sep 25, 2018 · 1 comment
Closed

VOLUMERIZE_CONTAINERS stop start order #48

dicastro opened this issue Sep 25, 2018 · 1 comment

Comments

@dicastro
Copy link

dicastro commented Sep 25, 2018

I have 2 containers:

  • container_db
  • container_server --link container_db:db

I have volumerize container with variable VOLUMERIZE_CONTAINERS="container_server container_db"

I've noticed that the containers in variable VOLUMERIZE_CONTAINERS are stopped and started in same order (the order in the list).

Following with the example, container_server is stopped at first place, and then container_db is stopped. That's the desired behaviour.

However when restarting the containers, container_server is started at first, but there is an error that says:

Error response from daemon: Cannot link to a non running container: /container_db AS /container_server/db
Error: failed to start containers: container_server

I think containers should be stopped in the indicated order and restarted in reverse order. What do you think?

@blacklabelops
Copy link
Owner

Thanks for the solution!

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