The command '/bin/sh -c apk add --no-cache git' returned a non-zero code: 4294967295

0

I am new to Docker and following the tutorial for Developers at https://hub.docker.com/?overlay=onboarding&step=build

Everything is OK until I get to the point where I enter the command: docker build -t darrenwnpi/cheers2019 .

I actually enter docker build --build-arg HTTP_PROXY=http://myproxy:4980 -t darrenwnpi/cheers2019 . where myproxy is the address of our inhouse proxy.

I get the following response back.

Sending build context to Docker daemon 14.34kB Step 1/9 : FROM golang:1.11-alpine AS builder ---> e116d2efa2ab Step 2/9 : RUN apk add --no-cache git ---> Running in 4b8fe3f8e5a4 fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz (1/5) Installing nghttp2-libs (1.39.2-r1) (2/5) Installing libcurl (7.66.0-r1) (3/5) Installing expat (2.2.8-r0) (4/5) Installing pcre2 (10.33-r0) (5/5) Installing git (2.22.4-r0) Executing busybox-1.30.1-r2.trigger OK: 21 MiB in 20 packages The command '/bin/sh -c apk add --no-cache git' returned a non-zero code: 4294967295: failed to shutdown container: container 4b8fe3f8e5a46dbb86e6223b53a00284eceed991e4703dbe732f8320f638a9ff 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 4b8fe3f8e5a46dbb86e6223b53a00284eceed991e4703dbe732f8320f638a9ff 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)

I am running on Windows 10 Pro Version 2004 (OS Build 19041.572). As a bit of background to get round other problems I have already set the proxy in the HTTP section of Docker Desktop > Settings and set experimental to true in the daemon.json.

docker-for-windows
asked on Super User Oct 19, 2020 by Caltor

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0