We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In one terminal:
docker run --rm -ti ubuntu sleep 30
Then run this script:
import Docker from "https://deno.land/x/denocker/index.ts" const docker = new Docker("/var/run/docker.sock"); const containers = await docker.containers.list({all: false}) console.log('containers', containers);
deno run -A --unstable dockerode-test.ts
returns:
containers []
However, changing docker.containers.list({all: false}) to docker.containers.list({all: true}) causes the process to hang indefinitely.
docker.containers.list({all: false})
docker.containers.list({all: true})
Do I have too many not-running containers?
docker ps -a | wc -l
returns 33 so no, not that many.
33
OS: macos 12.6 Docker: version 20.10.21, build baeda1f Deno: 1.29.1 (release, x86_64-apple-darwin)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem reproduction
In one terminal:
Then run this script:
returns:
However, changing
docker.containers.list({all: false})
todocker.containers.list({all: true})
causes the process to hang indefinitely.Do I have too many not-running containers?
returns
33
so no, not that many.Environment
OS: macos 12.6
Docker: version 20.10.21, build baeda1f
Deno: 1.29.1 (release, x86_64-apple-darwin)
The text was updated successfully, but these errors were encountered: