You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exec docker system prune -a to remove all images and perform clean test.
Run code above for the first time
Error: (HTTP code 404) no such container - No such image: ubuntu:latest
at /test-app/node_modules/docker-modem/lib/modem.js:296:17
at getCause (/test-app/node_modules/docker-modem/lib/modem.js:326:7)
at Modem.buildPayload (/test-app/node_modules/docker-modem/lib/modem.js:295:5)
at IncomingMessage.<anonymous> (/test-app/node_modules/docker-modem/lib/modem.js:270:14)
at IncomingMessage.emit (events.js:215:7)
at endReadableNT (_stream_readable.js:1183:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
reason: 'no such container',
statusCode: 404,
json: { message: 'No such image: ubuntu:latest' }
}
Run for the second time - and all will be fine.
I've also check if that's not some local docker issue. If I run docker pull ubuntu && docker images and ubuntu image is present in command output. However if I run example code above and stop in a breakpoint just after await docker.pull('ubuntu:latest', {}); and run docker images, then ubuntu image appears there after 3-4 seconds.
The text was updated successfully, but these errors were encountered:
Hi. Here's an example for reproduce the bug.
Steps to reproduce:
docker system prune -a
to remove all images and perform clean test.I've also check if that's not some local docker issue. If I run
docker pull ubuntu && docker images
and ubuntu image is present in command output. However if I run example code above and stop in a breakpoint just afterawait docker.pull('ubuntu:latest', {});
and rundocker images
, thenubuntu
image appears there after 3-4 seconds.The text was updated successfully, but these errors were encountered: