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

container stop operation does not work well #7

Open
NoaKirsh opened this issue Nov 5, 2024 · 0 comments
Open

container stop operation does not work well #7

NoaKirsh opened this issue Nov 5, 2024 · 0 comments

Comments

@NoaKirsh
Copy link

NoaKirsh commented Nov 5, 2024

I am running containerz on linux.

  1. Whenever I run container stop, it gets stuck.
  2. If I try to run it with --force, the container is stopped, but I receive the following error:

go run ./containerz.go container stop --instance peaceful_gates --force

Error: rpc error: code = Unknown desc = Error response from daemon: removal of container peaceful_gates is already in progress
Usage:
  containerz container stop [flags]

Flags:
      --force             Forcefully stop the container.
  -h, --help              help for stop
      --instance string   Container instance to stop.

Global Flags:
      --addr string    Containerz listen port. (default ":19999")
      --image string   container image name
      --tag string     container image tag (default "latest")

exit status 1

Running the linux docker command directly works.

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