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

Add --remove-orphans to the "up" command #60

Closed
wants to merge 1 commit into from
Closed

Conversation

@damienalexandre
Copy link
Member

damienalexandre commented Mar 12, 2020

Allow to avoid this king of warning:

WARNING: Found orphan containers for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.

Allow to avoid this king of warning:

> WARNING: Found orphan containers for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
@@ -63,7 +63,7 @@ def up():
compose_files = env.compose_files
env.compose_files = [file for file in compose_files if file != 'docker-compose.worker.yml']

docker_compose('up -d')
docker_compose('up --remove-orphans -d')

This comment has been minimized.

Copy link
@lyrixx

lyrixx Mar 12, 2020

Member

@pyrech Is it compatible with your system of worker?
On line 64, the worker file is not loaded, so it means it will remove all workers each time fab up is executed or not?

This comment has been minimized.

@pyrech pyrech mentioned this pull request Mar 18, 2020
@pyrech

This comment has been minimized.

Copy link
Member

pyrech commented Mar 18, 2020

Superceded by #62

@pyrech pyrech closed this Mar 18, 2020
@pyrech pyrech deleted the remove-orphan branch Mar 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.