Windows 10 Pro 1909
Ventana acoplable 2.2.0.4 (43472)
Dockerfile comienza así:
FROM debian:stable-20191118 Y esa es la única parte que funciona (o cualquier otro Linux como ubuntu:18.04 )
Cualquier línea siguiente, como cualquiera de estas
RUN DEBIAN_FRONTEND=noninteractive RUN LC_ALL=en_US.UTF-8 RUN apt-get update -y && apt-get install -y nginxobtiene el mismo error:
The command '/bin/sh -c (insert any of the commands above)' returned a non-zero code: 4294967295: failed to shutdown container: container ad12191abf0849d5e49bb5dc0570d6ba8eaf2cc5b4e7d77127ed381901fcb672 encountered an error during hcsshim::System::waitBackground: failure in a Windows system call: The virtual machine or container with the specified identifier is not running. (0xc0370110): subsequent terminate failed container ad12191abf0849d5e49bb5dc0570d6ba8eaf2cc5b4e7d77127ed381901fcb672 encountered an error during hcsshim::System::waitBackground: failure in a Windows system call: The virtual machine or container with the specified identifier is not running. (0xc0370110)El comando es
docker build -f Dockerfile . --no-cacheYo tuve el mismo problema. Pero cuando cambié a los contenedores de Linux, me ayudó. Si usa contenedores de Linux, verá "Cambiar a contenedores de Windows..." cuando presione RMB en Docker.
