Skip to content

container stop operation does not work well #7

Description

@NoaKirsh

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions