Comments (7)
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.
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.
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.
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.
Yes, thanks. All good now.
from dry.
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.
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)
- Windows 10 error running dry.
- Some characters are not showing up properly HOT 3
- Publish latest beta version of moncho/dry image to Docker Hub? HOT 2
- ssh into container
- crash, on MacOS, when exiting help when in monitor mode HOT 1
- Dry can not use ssh with DOCKER_HOST HOT 2
- Docker container not working on ARM HOT 2
- CPU Utilisation Calculation HOT 1
- CPU Utilisation Calculation
- Crash with / + paste in the log view, on MacOS HOT 2
- Using docker host SSH remote does not work. HOT 3
- MacOS Big sure won't install HOT 1
- Empty logs on Ubuntu HOT 1
- Docker connecting ascii art HOT 2
- Shall I downgrade docker-ce? HOT 4
- Dry does not start. HOT 2
- dry does not start
- Panic send on closed channel crash
- bug in monitor mode HOT 1
- total crash when trying to see a log HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dry.