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

Remove exited stack containers #2

Open
jnaulty opened this issue Nov 28, 2020 · 0 comments
Open

Remove exited stack containers #2

jnaulty opened this issue Nov 28, 2020 · 0 comments

Comments

@jnaulty
Copy link
Collaborator

jnaulty commented Nov 28, 2020

Experiencing a build error with tools/k9s and noticed some leftover containers.

We can add --rm command to remove exited containers.

➜  stack git:(master) ✗ docker ps -a
CONTAINER ID        IMAGE                              COMMAND                  CREATED             STATUS                      PORTS               NAMES
847f6d080a32        registry.localhost:5000/stack-go   "/usr/local/bin/host…"   55 seconds ago      Exited (1) 3 seconds ago                        vigorous_yonath
eea6bd0c0b8d        registry.localhost:5000/stack-go   "/usr/local/bin/host…"   3 minutes ago       Exited (1) 2 minutes ago                        zen_hypatia
22c391ebcbf6        registry.localhost:5000/stack-go   "/usr/local/bin/host…"   22 minutes ago      Exited (1) 15 minutes ago                       determined_feistel
32cc40e1a544        registry.localhost:5000/stack-go   "/usr/local/bin/host…"   28 minutes ago      Exited (0) 22 minutes ago                       lucid_cray
91b0ae1f9d52        registry.localhost:5000/stack-go   "/usr/local/bin/host…"   37 minutes ago      Exited (0) 28 minutes ago                       competent_kalam

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

Successfully merging a pull request may close this issue.

1 participant