I’m trying to follow the Quick Start to get docker up and running. On step 3 in the Quick Start, it says to run
docker build -t jgoranso/cheers2019 .
This fails with
ERROR: Failed to create usr/libexec/git-core/git-fmt-merge-msg: No error information
ERROR: git-2.22.0-r0: BAD signature
Executing busybox-1.30.1-r2.trigger
1 error; 8 MiB in 19 packages
The command ‘/bin/sh -c apk add --no-cache git’ returned a non-zero code: 1
What am I doing wrong?
Running Win10.
Gave full privileges to users to Program Files/git.
I run the command in both an Admin cmd prompt and admin Windows Powershell with same results.
My google searches haven’t come up with anything on this error.
Let me know what else is needed to help me get past this step.
I’m a Docker newbie, so I really don’t know what the commands I’m doing actually do. So, when I run a tutorial or something (I’m doing all of this to try and get Hyperledger Fabric up and running so I can actually work with that) and it gives me an error in a command line Docker scripts, I have no experience to know what the problem is and what to do.
I have been following this: https://hub.docker.com/?overlay=onboarding and it fails on the build command above, again due to the git install call. That stops me from progressing.
Yes, same problem here. Not a good start when the Get Started / onboarding example fails for so many people!
Step2 - Clone - works OK (git clone https://github.com/docker/doodle.git)
Step 3 - Build - fails with “The system cannot find the path specified.” (cd doodle\cheers2019 ; docker build -t plinkykev/cheers2019 .)
If I manually run: cd doodle\cheers2019
then run: docker build -t plinkykev/cheers2019 .
I get this error:
Sending build context to Docker daemon 13.31kB
Step 1/9 : FROM golang:1.11-alpine AS builder
1.11-alpine: Pulling from library/golang
no matching manifest for windows/amd64 10.0.18362 in the manifest list entries
Step 3/9 : RUN go get [github dot com]/pdevine/go-asciisprite
—> Running in c##########3
cd .; git clone https://github[ dot ]com/pdevine/go-asciisprite /go/src/github.com/pdevine/go-asciisprite
Cloning into ‘/go/src/github[dot]com/pdevine/go-asciisprite’…
fatal: unable to access ‘https://github[dot]com/pdevine/go-asciisprite/’: SSL certificate problem: unable to get local issuer certificate
package github[dot]com/pdevine/go-asciisprite: exit status 128
The command ‘/bin/sh -c go get github[dot]com/pdevine/go-asciisprite’ returned a non-zero code: 1
I had this very same problem in power shell - I typed it manually and it did not work
But then i used the copy function on the tutorial and pasted it into powershell and it worked