moby: LCOW: intermittent failures with "returned a non-zero code: 4294967295"
Using LCOW I occasionally see error messages like this
The command '/bin/sh -c dd if=/dev/urandom of=file1 bs=8 count=1' returned a non-zero code: 4294967295: failed to shutdown container: container de3925f530ce9fa61618d52c626dcf49746d8f0226454c5612183b080121dc05 encountered an error during WaitTimeout: failure in a Windows system call: winapi error #4294967295 (0xffffffff)
This particular case is with a simple Dockerfile:
FROM alpine:3.7
RUN dd if=/dev/urandom of=file1 bs=8 count=1
but the error happens intermittently, ie it works when run again. I’ve seen this error with several different Dockerfile so it’s likely independent of a specific file
I believe @jhowardmsft is aware of this issue so just filing it for the records.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 27 (8 by maintainers)
This seems consistant now across windows 10 installations. The simplest build with a RUN failes with the same error:
Actually, even if I take out all of the commands from the dockerfile, it happens when running the image too
so apparently this is still a thing. how are we supposed to use this thing?
nevermind, it actually just happens on any RUN commands
Any updates on this? It is very flaky/intermittent for me… Getting the following error on Windows Docker Engine:19.03.5 Version: 2.2.0.3(42716) stable:
returned a non-zero code: 4294967295
I have been running into the same problem while trying to build from a Dockerfile too.
Docker version:
Windows version:
Are there any updates on this?