docker-modem
docker-modem copied to clipboard
Docker Remote API network stack driver.
`Modem.prototype.dial` can call its callback multiple times, which violates that principle that Node-style callbacks of this type should be invoked only once with either an error or a result. This...
MRE repo here: https://github.com/weiyuan95/dockerode-followprogress-mre - just run `npm i && npm run repro` to see some logged output. ## Issue `modem.followProgress` seems to not be able to catch certain kinds...
`docker-modem` v3.0.1 / PR #133 (then modified by PR #134 / v3.0.2) introduced a bug that manifests as the following image build error message when the build options include a...
Docker api docs say that `X-Registry-Auth` should be `base64urlencoded` ([here](https://docs.docker.com/engine/api/v1.39/#section/Authentication)), but what I see from the code in the version `3.2.1` the value passed to this header is simply `base64`...
Fixes this issue: https://github.com/mscdex/ssh2/issues/1083#issuecomment-1077824328
`followProgress` attempts to [parse](https://github.com/apocas/docker-modem/blob/8556ad38cf5a022b22f50920fae6b08d2ac3f207/lib/modem.js#L430) all stream data as JSON. Why is that the case? I'm using dockerode and would like to log the (pretty-printed, not in JSON) stdout of a...
While it is pretty standard to use TLS when port 2376 it should not be assumed this is a given or at the very least we should be able to...
Hello, i have the problem that i can't build images with dockerode. My Code: ```ts client.buildImage( "./Dockerfile", { t: "test" }, function (err, stream) { if (err) console.error(err); console.log(stream); }...
This commit add path prefix for nested HTTP APIs with customized routing. For example I can mount docker's api proxy to `/system/docker/` on my server. Also: * Add DOCKER_PATH_PREFIX env...
Does this seem like a useful change for docker-modem? For my purposes, it means both a performance boost and improved ability to use docker-modem (and dockerode) without running ssh-agent. I'm...