Problem reproduction
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:
However, changing docker.containers.list({all: false}) to docker.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)
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
33so 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)