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

Unable to delete Altis stack instance in Docker Desktop #430

Open
1 task
ntwb opened this issue Feb 15, 2022 · 1 comment
Open
1 task

Unable to delete Altis stack instance in Docker Desktop #430

ntwb opened this issue Feb 15, 2022 · 1 comment
Labels
bug Existing functionality isn't behaving as expected developer advocacy Developer Advocacy related tasks

Comments

@ntwb
Copy link
Contributor

ntwb commented Feb 15, 2022

Description

When using Docker Desktop I'm not able to delete an entire Altis instance in a couple of mouse clicks

Without this ability each Altis container must be deleted one-by-one, a little painful to have to delete ~15 containers one-by-one

Background Context

When switching between Altis instances Docker network conflicts arise between the Altis instances so the Docker containers need to be destroyed and then recreated.

I don't use composer server destroy as this also destroys the Altis Docker volumes, and as I want to retain the data in the Docker volumes (DB, ES, S3, etc) this command is too destructive

Thus, I use Docker Desktop to manually delete just the Altis stack Docker containers

Steps to reproduce:

  1. Open Docker Desktop (MacOS)
  2. On the "parent" container of the Altis instance click the "DELETE" button

What I expected to see:

The ability to be able to delete an entire Altis instance in only a few mouse clicks

What I actually see:

The following error message is displayed:

Cannot remove Docker Compose application. Reason: Error invoking remote method 'compose-action': 
Error: Command failed: docker-compose --file "docker-compose.yml" --file "mutagen.yml" --project-name "platform-dev" --project-directory "/Users/netweb/Code/humanmade/platform-dev/vendor" down .
FileNotFoundError: [Errno 2] No such file or directory: './mutagen.yml'

Docker-Mutagen

Acceptance criteria:

  • ...
@ntwb ntwb added the bug Existing functionality isn't behaving as expected label Feb 15, 2022
@roborourke
Copy link
Contributor

Are you still using Mutagen? You could try deleting that if not.

I'm not sure why exactly it's including mutagen.yml as a file in that command. Either way seems pretty internal to how Docker Desktop works, I don't think we can fix this here.

What I'm more interested in is if you can elaborate on this:

When switching between Altis instances Docker network conflicts arise between the Altis instances so the Docker containers need to be destroyed and then recreated.

What kind of conflicts and what problems do you get as a result of this?

@missjwo missjwo added the developer advocacy Developer Advocacy related tasks label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Existing functionality isn't behaving as expected developer advocacy Developer Advocacy related tasks
Projects
None yet
Development

No branches or pull requests

4 participants