I am setting up for the first time Docker.
The link that I use: https://hub.docker.com/?overlay=onboarding
I am running this command: docker build -t jambornorbert/cheers2019
.
It crashes at step 6 which is:
RUN CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' -o cheers cheers.go
The error message is:
---> Running in f745d3605e7c
container f745d3605e7ce193d24307f6dbdb986b0ad404c2ba4c10cfc9ec3a714b590091 encountered an error during CreateProcess: failure in a Windows system call: Unspecified error (0x80004005)
[Event Detail: failed to run runc create/exec call for container f745d3605e7ce193d24307f6dbdb986b0ad404c2ba4c10cfc9ec3a714b590091: exit status 1 Stack Trace:
github.com/Microsoft/opengcs/service/gcs/runtime/runc.(*container).startProcess
/go/src/github.com/Microsoft/opengcs/service/gcs/runtime/runc/runc.go:580
github.com/Microsoft/opengcs/service/gcs/runtime/runc.(*runcRuntime).runCreateCommand
/go/src/github.com/Microsoft/opengcs/service/gcs/runtime/runc/runc.go:471
github.com/Microsoft/opengcs/service/gcs/runtime/runc.(*runcRuntime).CreateContainer
/go/src/github.com/Microsoft/opengcs/service/gcs/runtime/runc/runc.go:113
github.com/Microsoft/opengcs/service/gcs/core/gcs.(*gcsCore).ExecProcess
/go/src/github.com/Microsoft/opengcs/service/gcs/core/gcs/gcs.go:351
github.com/Microsoft/opengcs/service/gcs/bridge.(*Bridge).execProcess
/go/src/github.com/Microsoft/opengcs/service/gcs/bridge/bridge.go:637
github.com/Microsoft/opengcs/service/gcs/bridge.(*Bridge).execProcess-fm
/go/src/github.com/Microsoft/opengcs/service/gcs/bridge/bridge.go:253
github.com/Microsoft/opengcs/service/gcs/bridge.HandlerFunc.ServeMsg
/go/src/github.com/Microsoft/opengcs/service/gcs/bridge/bridge.go:72
github.com/Microsoft/opengcs/service/gcs/bridge.(*Mux).ServeMsg
/go/src/github.com/Microsoft/opengcs/service/gcs/bridge/bridge.go:146
github.com/Microsoft/opengcs/service/gcs/bridge.(*Bridge).ListenAndServe.func2.1
/go/src/github.com/Microsoft/opengcs/service/gcs/bridge/bridge.go:335
runtime.goexit
/usr/lib/go/src/runtime/asm_amd64.s:1333 Provider: 00000000-0000-0000-0000-000000000000]
extra info:
{
"CommandArgs": ["/bin/sh", "-c", "CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags \"-static\"' -o cheers cheers.go"],
"WorkingDirectory": "/project",
"Environment": {
"GOLANG_VERSION": "1.11.12",
"GOPATH": "/go",
"HOSTNAME": "f745d3605e7c",
"PATH": "/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
},
"CreateStdInPipe": true,
"CreateStdOutPipe": true,
"CreateStdErrPipe": true,
"ConsoleSize": [0, 0],
"OCISpecification": {
"ociVersion": "1.0.1-dev",
"process": {
"user": {
"uid": 0,
"gid": 0
},
"args": ["/bin/sh", "-c", "CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags \"-static\"' -o cheers cheers.go"],
"env": ["PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "HOSTNAME=f745d3605e7c", "GOLANG_VERSION=1.11.12", "GOPATH=/go"],
"cwd": "/project",
"capabilities": {
"bounding": ["CAP_CHOWN", "CAP_DAC_OVERRIDE", "CAP_FSETID", "CAP_FOWNER", "CAP_MKNOD", "CAP_NET_RAW", "CAP_SETGID", "CAP_SETUID", "CAP_SETFCAP", "CAP_SETPCAP", "CAP_NET_BIND_SERVICE", "CAP_SYS_CHROOT", "CAP_KILL", "CAP_AUDIT_WRITE"],
"effective": ["CAP_CHOWN", "CAP_DAC_OVERRIDE", "CAP_FSETID", "CAP_FOWNER", "CAP_MKNOD", "CAP_NET_RAW", "CAP_SETGID", "CAP_SETUID", "CAP_SETFCAP", "CAP_SETPCAP", "CAP_NET_BIND_SERVICE", "CAP_SYS_CHROOT", "CAP_KILL", "CAP_AUDIT_WRITE"],
"inheritable": ["CAP_CHOWN", "CAP_DAC_OVERRIDE", "CAP_FSETID", "CAP_FOWNER", "CAP_MKNOD", "CAP_NET_RAW", "CAP_SETGID", "CAP_SETUID", "CAP_SETFCAP", "CAP_SETPCAP", "CAP_NET_BIND_SERVICE", "CAP_SYS_CHROOT", "CAP_KILL", "CAP_AUDIT_WRITE"],
"permitted": ["CAP_CHOWN", "CAP_DAC_OVERRIDE", "CAP_FSETID", "CAP_FOWNER", "CAP_MKNOD", "CAP_NET_RAW", "CAP_SETGID", "CAP_SETUID", "CAP_SETFCAP", "CAP_SETPCAP", "CAP_NET_BIND_SERVICE", "CAP_SYS_CHROOT", "CAP_KILL", "CAP_AUDIT_WRITE"]
}
},
"root": {
"path": "rootfs"
},
"hostname": "f745d3605e7c",
"mounts": [{
"destination": "/proc",
"type": "proc",
"source": "proc",
"options": ["nosuid", "noexec", "nodev"]
}, {
"destination": "/dev",
"type": "tmpfs",
"source": "tmpfs",
"options": ["nosuid", "strictatime", "mode=755", "size=65536k"]
}, {
"destination": "/dev/pts",
"type": "devpts",
"source": "devpts",
"options": ["nosuid", "noexec", "newinstance", "ptmxmode=0666", "mode=0620", "gid=5"]
}, {
"destination": "/sys",
"type": "sysfs",
"source": "sysfs",
"options": ["nosuid", "noexec", "nodev", "ro"]
}, {
"destination": "/sys/fs/cgroup",
"type": "cgroup",
"source": "cgroup",
"options": ["ro", "nosuid", "noexec", "nodev"]
}, {
"destination": "/dev/mqueue",
"type": "mqueue",
"source": "mqueue",
"options": ["nosuid", "noexec", "nodev"]
}, {
"destination": "/dev/shm",
"type": "tmpfs",
"source": "shm",
"options": ["nosuid", "noexec", "nodev", "mode=1777"]
}],
"linux": {
"resources": {},
"namespaces": [{
"type": "mount"
}, {
"type": "network"
}, {
"type": "uts"
}, {
"type": "pid"
}, {
"type": "ipc"
}],
"maskedPaths": ["/proc/asound", "/proc/acpi", "/proc/kcore", "/proc/keys", "/proc/latency_stats", "/proc/timer_list", "/proc/timer_stats", "/proc/sched_debug", "/proc/scsi", "/sys/firmware"],
"readonlyPaths": ["/proc/bus", "/proc/fs", "/proc/irq", "/proc/sys", "/proc/sysrq-trigger"]
},
"windows": {
"layerFolders": ["C:\\ProgramData\\Docker\\lcow\\616193e57f5538527ca00571f6ccf030fb10425118fe6caa32d52d2d242c4997", "C:\\ProgramData\\Docker\\lcow\\ca5cc3cbc05a7bd76944fa3c79f3a600f6f5d82162ef2ecc3d2c059b88312098", "C:\\ProgramData\\Docker\\lcow\\602c59a61b4c598570a2d11cc73366ef8472ef194ab5420c72e74e25a7875c30", "C:\\ProgramData\\Docker\\lcow\\94fe96d474effdf5131bb269f8ba6e4ac41b266a9f2dbd45966494c6f42f07af", "C:\\ProgramData\\Docker\\lcow\\7f2b1dad06469e53e00ebc97cbbdd6e6a1e93f070b98d10a47ad060a86b684f9", "C:\\ProgramData\\Docker\\lcow\\f6ecf96151ac73b38498fe57f24c82117e14461aa236235af35ebf50e4760cd4", "C:\\ProgramData\\Docker\\lcow\\a862c119d8664e6710590eb154b4d3574765df9b79bc111a4a16f16452417bf1", "C:\\ProgramData\\Docker\\lcow\\9690f2b8c41c29ccc10e968042589cac7d07ff36b76f33b1e5be6147bdd821ea", "C:\\ProgramData\\Docker\\lcow\\cb464fcbed6c914651c9e60dafbb9a79e82288212d482e8f5b840ede5be93370", "C:\\ProgramData\\Docker\\lcow\\f745d3605e7ce193d24307f6dbdb986b0ad404c2ba4c10cfc9ec3a714b590091"],
"hyperv": {},
"network": {
"endpointList": ["B1820A09-EAE5-4420-B7A6-8A9594C6E5F0"],
"allowUnqualifiedDNSQuery": true
}
}
}
}
User contributions licensed under CC BY-SA 3.0