Giter VIP home page Giter VIP logo

Comments (7)

moncho avatar moncho commented on May 26, 2024

Thanks for reporting.

Is the behavior of dry different to the Docker CLI for kill?

I guess that if you do docker ps -a still shows the container f00..., right? Could you please try to kill the container using docker kill?

The container list shown by dry should be the one reported by Docker. There was a change on 0.3-beta.6 to refresh the container list upon receiving events from the Docker daemon, which might explain the delay in updating, but the information still comes from Docker directly.

from dry.

funkytaco avatar funkytaco commented on May 26, 2024

Secondary issue:
Because it doesn't refresh, if I hit "kk", I get the following (because the container is either in the process of being deleted or doesn't exist):

Error killing container 1225a521d95f. API error (500): Cannot kill container 1225a521d95f9526dc70103e2d69043d979484943851585c2f0b601af0dd4e31: Container 1225a521d95f9526dc70103e2d69043d97948494308:26:48

In answer to your question, if I do a docker kill [container] && docker ps in a second terminal, dry never updates. I "arrowed" up and down and waited about 45 seconds before I hit [F5] to refresh. Previously, I would kill containers in Docker UCP or a second terminal and dry seemed to update just fine.

From the [F2] screen that lists "non-running/killed" containers, if I do [CTRL-E] it says Removing all stopped containers. Then eventually it says Removed all stopped containers but this screen also acts the same way and doesn't refresh in a timely manner.

dry is talking to a remote Docker Swarm API. 0.3-beta.6 was working with the same swarm just minutes before I upgraded.

I'm running OS X El Capitan version 10.11

info from dry:

Docker Host:         tcp://myhost:443                           Docker Version:  ucp/0.6.0
Cert Path:           /Users/me/pathto/tls    APIVersion:      1.21
Verify Certificate:  true                                                      OS/Arch/Kernel:  linux/amd64/

from dry.

moncho avatar moncho commented on May 26, 2024

Thanks for the extended information :)

My initial guess is that it is related to the use of Docker Swarm, maybe it behaves differently and it is not sending events. But I need to take a look.

from dry.

moncho avatar moncho commented on May 26, 2024

Definitely related to Docker Swarm, see: docker-archive/classicswarm#1203

As a quick fix, dry will now auto-refresh every 15 seconds. Available in v0.3-beta.10.

@funkytaco Could you please check if dry is working as before?

from dry.

funkytaco avatar funkytaco commented on May 26, 2024

Yes, thanks. All good now.

from dry.

funkytaco avatar funkytaco commented on May 26, 2024

Hmm, I did a CTRL-E for killed containers, and it somehow killed Docker UCP. I'm lucky this is a dev environment. dry has not done that before.

I'll open another ticket if it seems to be related to dry...

from dry.

funkytaco avatar funkytaco commented on May 26, 2024

I've must've fat fingered something last time as Docker UCP seems fine this time when I tried to duplicate.

from dry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.