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 docker cleanup helpers #603

Open
shadeofblue opened this issue Jan 17, 2023 · 0 comments
Open

add docker cleanup helpers #603

shadeofblue opened this issue Jan 17, 2023 · 0 comments

Comments

@shadeofblue
Copy link
Collaborator

In order to simplify goth usage, we may wish to include the commands that we execute in github workflows as helper scripts in the goth repository:

e.g.: Disconnect Docker containers from default network:

docker network inspect docker_default
docker network inspect docker_default | jq ".[0].Containers | map(.Name)[]" | tee /dev/stderr | xargs --max-args 1 -- docker network disconnect -f docker_default
  • requires jq to be added to project's os dependencies
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

1 participant