Balena-Enginer (docker) error while copying file to container - docker
I have created a balena-engine container.
ID of the container is fa2c14de228d.
When I am copying a file, say some text file from host to a container with id fa2c14de228d,
I am having the following error.
root#axcf2152:/opt# balena-engine cp test.txt fa2c14de228d:/opt/FT/
SIGILL: illegal instruction
PC=0x52c6e m=6 sigcode=1
goroutine 0 [idle]:
runtime: unexpected return pc for runtime.dumpregs called from 0xb3b35527
stack: frame={sp:0xb4e8aa1c, fp:0xb4e8aa7c} stack=[0xb468b0d4,0xb4e8acd4)
b4e8a99c: 00000000 62cc4f93 00000000 00000000
b4e8a9ac: 00000000 b39e5230 b3bf515c 00000000
b4e8a9bc: b3b3d9fd b3bf4cc4 b3bf515c b3b8c0fb
b4e8a9cc: b3b3d04f b3b3cf5d b39e5230 0000000a
b4e8a9dc: 00000000 a528859e 3fd4689f 5ae0c2ae
b4e8a9ec: 3fe8e8db 0148430c 0000000a b3bf4fb8
b4e8a9fc: b4e8aa40 0000000a b4573108 b39e5230
b4e8aa0c: 00000001 b4e8b7c0 b4e8aa48 00000000
b4e8aa1c: <b3b35527 b39e5210 b4e8aa44 b4e8b7c0
b4e8aa2c: 00000000 b3b8f93f b4e8aae8 b4e8aa40
b4e8aa3c: b39e5190 b39e5370 00000078 000001f5
b4e8aa4c: 00000000 00000177 00000000 5aa27f70
b4e8aa5c: 00000000 00000000 00000000 62cc4f93
b4e8aa6c: 00000000 00000000 00000000 00000012
b4e8aa7c: >00000000 0000130a 00000000 000041ed
b4e8aa8c: 00000001 00000000 00000000 00000000
b4e8aa9c: 00000000 00001000 00000000 00001000
b4e8aaac: 00000000 00000008 00000000 5f923943
b4e8aabc: 00000000 3b023380 00000000 5f92394b
b4e8aacc: 00000000 0c845880 00000000 5f923960
b4e8aadc: 00000000 160dc080 00000000 00000000
b4e8aaec: 00000000 00000000 00000000 00000000
runtime.dumpregs(0x130a)
/usr/local/go/src/runtime/signal_arm.go:23 +0x39a
goroutine 38 [syscall]:
runtime.cgocall(0xf0c764, 0x1205e994, 0x150001)
/usr/local/go/src/runtime/cgocall.go:128 +0x64 fp=0x1205e970 sp=0x1205e958 pc=0x121e4
os/user._Cfunc_mygetpwuid_r(0x0, 0x12208380, 0xb4400510, 0x400, 0x121dc208, 0x0)
_cgo_gotypes.go:171 +0x38 fp=0x1205e990 sp=0x1205e970 pc=0x152a64
os/user.lookupUnixUid.func1.1(0x0, 0x12208380, 0xb4400510, 0x400, 0x121dc208, 0x4)
/usr/local/go/src/os/user/cgo_lookup_unix.go:100 +0x104 fp=0x1205e9b4 sp=0x1205e990 pc=0x154198
os/user.lookupUnixUid.func1(0x8)
/usr/local/go/src/os/user/cgo_lookup_unix.go:100 +0x40 fp=0x1205e9d0 sp=0x1205e9b4 pc=0x154244
os/user.retryWithBuffer(0x121dc210, 0x1205ea48, 0x121dc210, 0x0)
/usr/local/go/src/os/user/cgo_lookup_unix.go:253 +0x2c fp=0x1205e9fc sp=0x1205e9d0 pc=0x153850
os/user.lookupUnixUid(0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/os/user/cgo_lookup_unix.go:96 +0xc4 fp=0x1205ea5c sp=0x1205e9fc pc=0x152e8c
os/user.current(0x1205ea94, 0x8, 0x7eb40)
/usr/local/go/src/os/user/cgo_lookup_unix.go:49 +0x18 fp=0x1205ea70 sp=0x1205ea5c pc=0x152d24
os/user.Current.func1()
/usr/local/go/src/os/user/lookup.go:11 +0x14 fp=0x1205ea88 sp=0x1205ea70 pc=0x153fec
sync.(*Once).Do(0x1cfe2b0, 0x132a848)
/usr/local/go/src/sync/once.go:44 +0xb8 fp=0x1205eaa0 sp=0x1205ea88 pc=0x7eb54
os/user.Current(0x0, 0x1cfe120, 0x1a4350)
/usr/local/go/src/os/user/lookup.go:11 +0x24 fp=0x1205eab4 sp=0x1205eaa0 pc=0x152450
os/user.LookupId(0x1316e8a, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/os/user/lookup.go:38 +0x14 fp=0x1205ead8 sp=0x1205eab4 pc=0x152520
archive/tar.statUnix(0x144fd20, 0x120386c0, 0x122fa280, 0xd736db66, 0xe)
/usr/local/go/src/archive/tar/stat_unix.go:39 +0x6c0 fp=0x1205ec14 sp=0x1205ead8 pc=0x1a4364
archive/tar.FileInfoHeader(0x144fd20, 0x120386c0, 0x0, 0x0, 0xae16c, 0x120386c0, 0x12202590)
/usr/local/go/src/archive/tar/common.go:699 +0x388 fp=0x1205ecf0 sp=0x1205ec14 pc=0x19d684
github.com/docker/docker/pkg/archive.FileInfoHeader(0x12202595, 0x8, 0x144fd20, 0x120386c0, 0x0, 0x0, 0x85d8c0, 0x1156ff0, 0x120c13e0)
/balena-engine/.gopath/src/github.com/docker/docker/pkg/archive/archive.go:361 +0x34 fp=0x1205ed48 sp=0x1205ecf0 pc=0x85232c
github.com/docker/docker/pkg/archive.(*tarAppender).addTarFile(0x12208320, 0x12202590, 0xd, 0x12202595, 0x8, 0x0, 0x0)
/balena-engine/.gopath/src/github.com/docker/docker/pkg/archive/archive.go:472 +0x9c fp=0x1205eda0 sp=0x1205ed48 pc=0x852b18
github.com/docker/docker/pkg/archive.TarWithOptions.func1.2(0x12202590, 0xd, 0x144fd20, 0x12038630, 0x0, 0x0, 0x1cfe640, 0xae16c)
/balena-engine/.gopath/src/github.com/docker/docker/pkg/archive/archive.go:885 +0x478 fp=0x1205eea4 sp=0x1205eda0 pc=0x85d948
path/filepath.walk(0x12202590, 0xd, 0x144fd20, 0x12038630, 0x122c6330, 0x0, 0x30)
/usr/local/go/src/path/filepath/path.go:357 +0x2dc fp=0x1205ef08 sp=0x1205eea4 pc=0xef208
path/filepath.Walk(0x12202590, 0xd, 0x122c6330, 0x12869e6, 0x1)
/usr/local/go/src/path/filepath/path.go:403 +0xe0 fp=0x1205ef34 sp=0x1205ef08 pc=0xef318
github.com/docker/docker/pkg/archive.TarWithOptions.func1(0x1222c050, 0x1441a18, 0x122bc090, 0x1200e290, 0x1200e278, 0x122bc070)
/balena-engine/.gopath/src/github.com/docker/docker/pkg/archive/archive.go:803 +0x244 fp=0x1205efd4 sp=0x1205ef34 pc=0x85de70
runtime.goexit()
/usr/local/go/src/runtime/asm_arm.s:1015 +0x4 fp=0x1205efd4 sp=0x1205efd4 pc=0x6b480
created by github.com/docker/docker/pkg/archive.TarWithOptions
/balena-engine/.gopath/src/github.com/docker/docker/pkg/archive/archive.go:745 +0x1e8
goroutine 1 [select]:
net/http.(*persistConn).roundTrip(0x122fa1e0, 0x1220a4e0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:2033 +0x464
net/http.(*Transport).RoundTrip(0x122fa140, 0x1248c000, 0x122fa140, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:422 +0x628
net/http.send(0x1248c000, 0x143cb10, 0x122fa140, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1200e558, 0x10, ...)
/usr/local/go/src/net/http/client.go:252 +0x130
net/http.(*Client).send(0x125a7340, 0x1248c000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2, 0x1, 0x122fc580, ...)
/usr/local/go/src/net/http/client.go:176 +0xb8
net/http.(*Client).Do(0x125a7340, 0x1248c000, 0x1203a088, 0x1248c000, 0x976b7963)
/usr/local/go/src/net/http/client.go:615 +0x1d0
github.com/docker/docker/vendor/golang.org/x/net/context/ctxhttp.Do(0x144b2a0, 0x1203a088, 0x125a7340, 0x122c8180, 0x1220a3e0, 0x1294cf6, 0xc)
/balena-engine/.gopath/src/github.com/docker/docker/vendor/golang.org/x/net/context/ctxhttp/ctxhttp.go:30 +0x50
github.com/docker/docker/client.(*Client).doRequest(0x12254980, 0x144b2a0, 0x1203a088, 0x122c8180, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/balena-engine/.gopath/src/github.com/docker/docker/client/request.go:132 +0x5c
github.com/docker/docker/client.(*Client).sendRequest(0x12254980, 0x144b2a0, 0x1203a088, 0x128700c, 0x3, 0x12040400, 0x20, 0x1222bb10, 0xb4e9a500, 0x1200e298, ...)
/balena-engine/.gopath/src/github.com/docker/docker/client/request.go:122 +0xc4
github.com/docker/docker/client.(*Client).putRaw(0x12254980, 0x144b2a0, 0x1203a088, 0x12040400, 0x20, 0x1222bb10, 0xb4e9a500, 0x1200e298, 0x0, 0x0, ...)
/balena-engine/.gopath/src/github.com/docker/docker/client/request.go:64 +0x80
github.com/docker/docker/client.(*Client).CopyToContainer(0x12254980, 0x144b2a0, 0x1203a088, 0xbee45dcd, 0xc, 0xbee45dda, 0x8, 0xb4e9a500, 0x1200e298, 0x0, ...)
/balena-engine/.gopath/src/github.com/docker/docker/client/container_copy.go:47 +0x1a0
github.com/docker/docker/vendor/github.com/docker/cli/cli/command/container.copyToContainer(0x144b2a0, 0x1203a088, 0x1459430, 0x122df130, 0x0, 0xbee45dc4, 0x8, 0xbee45dda, 0x8, 0xbee45dcd, ...)
/balena-engine/.gopath/src/github.com/docker/docker/vendor/github.com/docker/cli/cli/command/container/cp.go:272 +0x1d8
github.com/docker/docker/vendor/github.com/docker/cli/cli/command/container.runCopy(0x1459430, 0x122df130, 0xbee45dc4, 0x8, 0xbee45dcd, 0x15, 0x0, 0x72deac, 0x1222bdf0)
/balena-engine/.gopath/src/github.com/docker/docker/vendor/github.com/docker/cli/cli/command/container/cp.go:104 +0x178
github.com/docker/docker/vendor/github.com/docker/cli/cli/command/container.NewCopyCommand.func1(0x125a5e00, 0x122e8c90, 0x2, 0x2, 0x0, 0x0)
/balena-engine/.gopath/src/github.com/docker/docker/vendor/github.com/docker/cli/cli/command/container/cp.go:67 +0xb0
github.com/docker/docker/vendor/github.com/spf13/cobra.(*Command).execute(0x125a5e00, 0x120360b0, 0x2, 0x2, 0x125a5e00, 0x120360b0)
/balena-engine/.gopath/src/github.com/docker/docker/vendor/github.com/spf13/cobra/command.go:762 +0x360
github.com/docker/docker/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0x121168c0, 0x122c4cb8, 0x108db38, 0x122c4cc0)
/balena-engine/.gopath/src/github.com/docker/docker/vendor/github.com/spf13/cobra/command.go:852 +0x20c
github.com/docker/docker/vendor/github.com/spf13/cobra.(*Command).Execute(0x121168c0, 0x121168c0, 0x143cd68)
/balena-engine/.gopath/src/github.com/docker/docker/vendor/github.com/spf13/cobra/command.go:800 +0x1c
github.com/docker/docker/vendor/github.com/docker/cli/cmd/docker.Main()
/balena-engine/.gopath/src/github.com/docker/docker/vendor/github.com/docker/cli/cmd/docker/docker.go:180 +0xa0
main.main()
/balena-engine/.gopath/src/github.com/docker/docker/cmd/balena-engine/main.go:27 +0xc0
goroutine 5 [syscall]:
os/signal.signal_recv(0x0)
/usr/local/go/src/runtime/sigqueue.go:139 +0x130
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:22 +0x14
created by os/signal.init.0
/usr/local/go/src/os/signal/signal_unix.go:28 +0x30
goroutine 25 [IO wait]:
internal/poll.runtime_pollWait(0xb4e90fc0, 0x72, 0x1220c000)
/usr/local/go/src/runtime/netpoll.go:173 +0x44
internal/poll.(*pollDesc).wait(0x125aff04, 0x72, 0xffffff00, 0x143f288, 0x1caac2c)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0x8c
internal/poll.(*pollDesc).waitRead(0x125aff04, 0x1220c000, 0x1000, 0x1000)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x2c
internal/poll.(*FD).Read(0x125afef0, 0x1220c000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_unix.go:157 +0x148
net.(*netFD).Read(0x125afef0, 0x1220c000, 0x1000, 0x1000, 0x0, 0x1205ff04, 0x4)
/usr/local/go/src/net/fd_unix.go:202 +0x38
net.(*conn).Read(0x121dc088, 0x1220c000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:176 +0x58
net/http.(*persistConn).Read(0x122fa1e0, 0x1220c000, 0x1000, 0x1000, 0x1205ff04, 0x2, 0x2)
/usr/local/go/src/net/http/transport.go:1453 +0x174
bufio.(*Reader).fill(0x122c61e0)
/usr/local/go/src/bufio/bufio.go:100 +0x104
bufio.(*Reader).Peek(0x122c61e0, 0x1, 0x0, 0x0, 0x0, 0x12086680, 0x0)
/usr/local/go/src/bufio/bufio.go:132 +0x28
net/http.(*persistConn).readLoop(0x122fa1e0)
/usr/local/go/src/net/http/transport.go:1601 +0x14c
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1237 +0x7b0
goroutine 26 [select]:
io.(*pipe).Read(0x1209e120, 0x12548000, 0x8000, 0x8000, 0x1, 0x0, 0x1d1269c)
/usr/local/go/src/io/pipe.go:50 +0xe0
io.(*PipeReader).Read(0x1200e288, 0x12548000, 0x8000, 0x8000, 0x0, 0x368034, 0x12052500)
/usr/local/go/src/io/pipe.go:127 +0x38
net/http.transferBodyReader.Read(0x1222c0a0, 0x12548000, 0x8000, 0x8000, 0x8000, 0x8000, 0x1d1269c)
/usr/local/go/src/net/http/transfer.go:60 +0x40
io.copyBuffer(0xb4e9a530, 0x1200ed48, 0x143f138, 0x1222c0a0, 0x12548000, 0x8000, 0x8000, 0x10e0b10, 0x111a2c8, 0x1f400, ...)
/usr/local/go/src/io/io.go:400 +0x14c
io.Copy(0xb4e9a530, 0x1200ed48, 0x143f138, 0x1222c0a0, 0x1200ed48, 0x1209e150, 0x3b9694, 0x8)
/usr/local/go/src/io/io.go:362 +0x48
net/http.(*transferWriter).WriteBody(0x1222c0a0, 0x143a530, 0x122059c0, 0x2, 0x2)
/usr/local/go/src/net/http/transfer.go:330 +0xf0
net/http.(*Request).write(0x1248c000, 0x143a530, 0x122059c0, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/request.go:622 +0x4a8
net/http.(*persistConn).writeLoop(0x122fa1e0)
/usr/local/go/src/net/http/transport.go:1825 +0x168
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1238 +0x7cc
trap 0x6
error 0x0
oldmask 0x0
r0 0xb988a054
r1 0xb988a000
r2 0x45731140
r3 0x85
r4 0x2
r5 0xa
r6 0xb4573114
r7 0xb4e8abc0
r8 0x1
r9 0xb4e8b7c0
r10 0x120015e0
fp 0x0
ip 0x23
sp 0xb4e8aa1c
lr 0xb3baf834
pc 0x52c6e
cpsr 0x800b0030
fault 0x46
I have used this command earlier for many times without this error.
Does anyone know how to resolve this issue with cp command?
This is specific to the device you are using - the latest version of firmware on the AXC F 2152 from Phoenix Contact appears to have caused this change of behaviour. This can be resolved by getting in touch with Phoenix Contact and discussing the issue with them.
Instead of the container_id the container_name could work.
The version of Balena probably needs to be updated, it is an older version that is used here.
Alternative I have found in the system Podman
and Docker installation help is available on github. Maybe balena is out of focus.
https://github.com/PLCnext/Docker_GettingStarted
Related
docker: Error response from daemon: SIGILL: illegal instruction
Problem I'm trying to create a docker container from a common image bitnami/airflow. I successfully downloaded the image, but when I run docker run -d -p 8080:8080 bitnami/airflow webserver I get the following error: docker: Error response from daemon: SIGILL: illegal instruction Docker version 20.10.8, build 3967b7d Problem occurs with several images I've tested Question Is there a simple explanation why that would be the case? Any way to fix it? Full Stack Trace Here is the full stack trace: docker: Error response from daemon: SIGILL: illegal instruction PC=0x809b5f m=6 sigcode=2 instruction bytes: 0x48 0xfe 0xfe 0xfe 0xff 0x0 0x74 0x1b 0xf 0x57 0xc0 0xf 0x11 0x84 0x24 0xc0 goroutine 1 [running]: regexp.(*Regexp).doMatch(...) /usr/local/go/src/regexp/exec.go:514 regexp.(*Regexp).MatchString(...) /usr/local/go/src/regexp/regexp.go:525 github.com/containerd/containerd/identifiers.Validate(0x7ffd389a4e0c, 0x4, 0x7ffd389a4e0c, 0x4) /go/src/github.com/containerd/containerd/identifiers/validate.go:61 +0x9f fp=0xc0001575b0 sp=0xc000157500 pc=0x809b5f github.com/containerd/containerd/namespaces.NamespaceRequired(0x9f5b60, 0xc000098000, 0x0, 0x8, 0x0, 0x7ff016885b10) /go/src/github.com/containerd/containerd/namespaces/context.go:74 +0xd5 fp=0xc000157618 sp=0xc0001575b0 pc=0x814dd5 github.com/containerd/containerd/runtime/v2/runc/v2.newCommand(0x9f5b60, 0xc000098000, 0x7ffd389a4e6e, 0x40, 0x7ffd389a4e56, 0x13, 0x7ffd389a4e1a, 0x2b, 0xc00002a00e, 0x31, ...) /go/src/github.com/containerd/containerd/runtime/v2/runc/v2/service.go:135 +0x4d fp=0xc000157708 sp=0xc000157618 pc=0x892ead github.com/containerd/containerd/runtime/v2/runc/v2.(*service).StartShim(0xc000090080, 0x9f5b60, 0xc000098000, 0x7ffd389a4e6e, 0x40, 0x7ffd389a4e56, 0x13, 0x7ffd389a4e1a, 0x2b, 0xc00002a00e, ...) /go/src/github.com/containerd/containerd/runtime/v2/runc/v2/service.go:175 +0xcb fp=0xc000157970 sp=0xc000157708 pc=0x8934eb github.com/containerd/containerd/runtime/v2/shim.run(0x976d27, 0x15, 0x98d508, 0x0, 0x0, 0x0) /go/src/github.com/containerd/containerd/runtime/v2/shim/shim.go:222 +0xbb5 fp=0xc000157ea8 sp=0xc000157970 pc=0x867e75 github.com/containerd/containerd/runtime/v2/shim.Run(0x976d27, 0x15, 0x98d508, 0x0, 0x0, 0x0) /go/src/github.com/containerd/containerd/runtime/v2/shim/shim.go:153 +0xc7 fp=0xc000157f48 sp=0xc000157ea8 pc=0x8671a7 main.main() /go/src/github.com/containerd/containerd/cmd/containerd-shim-runc-v2/main.go:27 +0x53 fp=0xc000157f88 sp=0xc000157f48 pc=0x898f73 runtime.main() /usr/local/go/src/runtime/proc.go:204 +0x209 fp=0xc000157fe0 sp=0xc000157f88 pc=0x438549 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1374 +0x1 fp=0xc000157fe8 sp=0xc000157fe0 pc=0x46b0a1 goroutine 18 [chan receive]: github.com/containerd/containerd/runtime/v2/shim.setRuntime.func1() /go/src/github.com/containerd/containerd/runtime/v2/shim/shim.go:120 +0x85 created by github.com/containerd/containerd/runtime/v2/shim.setRuntime /go/src/github.com/containerd/containerd/runtime/v2/shim/shim.go:119 +0x45 goroutine 5 [syscall]: os/signal.signal_recv(0xc00003c7ae) /usr/local/go/src/runtime/sigqueue.go:147 +0x9d os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:150 +0x45 goroutine 6 [chan receive]: github.com/containerd/containerd/runtime/v2/shim.(*RemoteEventsPublisher).processQueue(0xc000068180) /go/src/github.com/containerd/containerd/runtime/v2/shim/publisher.go:80 +0x55 created by github.com/containerd/containerd/runtime/v2/shim.NewPublisher /go/src/github.com/containerd/containerd/runtime/v2/shim/publisher.go:56 +0x10f goroutine 7 [syscall]: syscall.Syscall6(0xe8, 0xa, 0xc0001559a8, 0x80, 0xffffffffffffffff, 0x0, 0x0, 0x406d7a, 0xc00015e2a0, 0x0) /usr/local/go/src/syscall/asm_linux_amd64.s:41 +0x5 github.com/containerd/containerd/vendor/golang.org/x/sys/unix.EpollWait(0xa, 0xc0001559a8, 0x80, 0x80, 0xffffffffffffffff, 0x0, 0x0, 0x0) /go/src/github.com/containerd/containerd/vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go:77 +0x72 github.com/containerd/containerd/pkg/oom/v1.(*epoller).Run(0xc000068360, 0x9f5b60, 0xc000098000) /go/src/github.com/containerd/containerd/pkg/oom/v1/v1.go:77 +0xad created by github.com/containerd/containerd/runtime/v2/runc/v2.New /go/src/github.com/containerd/containerd/runtime/v2/runc/v2/service.go:90 +0x109 goroutine 8 [runnable]: github.com/containerd/containerd/runtime/v2/runc/v2.(*service).processExits(0xc000090080) /go/src/github.com/containerd/containerd/runtime/v2/runc/v2/service.go:726 created by github.com/containerd/containerd/runtime/v2/runc/v2.New /go/src/github.com/containerd/containerd/runtime/v2/runc/v2/service.go:100 +0x21f goroutine 9 [runnable]: github.com/containerd/containerd/vendor/github.com/containerd/console.(*Epoller).Wait(0xc0000683f0, 0xc0001578b0, 0x40df98) /go/src/github.com/containerd/containerd/vendor/github.com/containerd/console/console_linux.go:108 created by github.com/containerd/containerd/runtime/v2/runc.NewPlatform /go/src/github.com/containerd/containerd/runtime/v2/runc/platform.go:48 +0x5b goroutine 10 [runnable]: github.com/containerd/containerd/runtime/v2/runc/v2.(*service).forward(0xc000090080, 0x9f5b60, 0xc000098000, 0x9ef7e0, 0xc000068180) /go/src/github.com/containerd/containerd/runtime/v2/runc/v2/service.go:800 created by github.com/containerd/containerd/runtime/v2/runc/v2.New /go/src/github.com/containerd/containerd/runtime/v2/runc/v2/service.go:106 +0x2c5 rax 0xce0a20 rbx 0xc0000a8000 rcx 0x0 rdx 0x0 rdi 0xc00005c1e0 rsi 0x0 rbp 0xc0001575a0 rsp 0xc000157500 r8 0xce0a20 r9 0x0 r10 0xc00005c1e0 r11 0x4 r12 0xc000143b80 r13 0x0 r14 0x9dc890 r15 0x0 rip 0x809b5f rflags 0x10202 cs 0x33 fs 0x0 gs 0x0 : exit status 2: unknown.
Facing an issue in setup docker distribution library using glide
I have been trying to set up the github.com/docker/distribution/ library in my local machine using the glide up -v. I have other dependent libraries kubernetes, openshift with docker. Installing setup if failing. I was getting the following errors: [INFO] Project relies on 54 dependencies. [INFO] Removing nested vendor and Godeps/_workspace directories... [INFO] Removing: /vendor/github.com/docker/distribution/vendor panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x6fdc82] goroutine 1 [running]: github.com/Masterminds/glide/path.StripVendor.func1(0xc42054a420, 0x60, 0x0, 0x0, 0x8f3160, 0xc4202d70e0, 0x0, 0x0) /home/vagrant/go/src/github.com/Masterminds/glide/path/strip.go:28 +0x42 path/filepath.walk(0xc4205e8900, 0x55, 0x8fa0e0, 0xc420555520, 0xc4203be880, 0x0, 0x0) /usr/lib/go-1.10/src/path/filepath/path.go:377 +0x20d path/filepath.walk(0xc4204f8f50, 0x4e, 0x8fa0e0, 0xc4201c41a0, 0xc4203be880, 0x0, 0x0) /usr/lib/go-1.10/src/path/filepath/path.go:381 +0x2c2 path/filepath.walk(0xc4204f8e60, 0x41, 0x8fa0e0, 0xc4201c40d0, 0xc4203be880, 0x0, 0x0) /usr/lib/go-1.10/src/path/filepath/path.go:381 +0x2c2 path/filepath.walk(0xc420342580, 0x3a, 0x8fa0e0, 0xc4205dc5b0, 0xc4203be880, 0x0, 0x0) /usr/lib/go-1.10/src/path/filepath/path.go:381 +0x2c2 path/filepath.walk(0xc4203edf50, 0x2f, 0x8fa0e0, 0xc4205dc410, 0xc4203be880, 0x0, 0x20) /usr/lib/go-1.10/src/path/filepath/path.go:381 +0x2c2 path/filepath.Walk(0xc4203edf50, 0x2f, 0xc4203be880, 0xc4205dc340, 0x0) /usr/lib/go-1.10/src/path/filepath/path.go:403 +0x106 github.com/Masterminds/glide/path.StripVendor(0x8b0354, 0x3b) /home/vagrant/go/src/github.com/Masterminds/glide/path/strip.go:22 +0x10a github.com/Masterminds/glide/action.Update(0xc4201b4680, 0x890100) /home/vagrant/go/src/github.com/Masterminds/glide/action/update.go:108 +0x291 main.commands.func13(0xc4200d6f20, 0x0, 0xc4200d6f20) /home/vagrant/go/src/github.com/Masterminds/glide/glide.go:634 +0x354 github.com/Masterminds/glide/vendor/github.com/codegangsta /cli.HandleAction(0x811280, 0x8ba958, 0xc4200d6f20, 0xc42006d200, 0x0) /home/vagrant/go/src/github.com/Masterminds/glide/vendor/github.com/codegangsta/cli/app.go:490 +0xc8 github.com/Masterminds/glide/vendor/github.com/codegangsta/cli.Command.Run(0x8999f4, 0x6, 0x898661, 0x2, 0x0, 0x0, 0x0, 0x8a5188, 0x1f, 0x0, ...) /home/vagrant/go/src/github.com/Masterminds/glide/vendor/github.com/codegangsta/cli/command.go:210 +0xa36 github.com/Masterminds/glide/vendor/github.com/codegangsta/cli.(*App).Run(0xc42008b1e0, 0xc42001e090, 0x3, 0x3, 0x0, 0x0) /home/vagrant/go/src/github.com/Masterminds/glide/vendor/github.com/codegangsta/cli/app.go:255 +0x6a0 main.main() /home/vagrant/go/src/github.com/Masterminds/glide/glide.go:104 +0x5a9
Docker for Mac `docker images` command returns "fatal error: fault"
After pulling an image from docker hub docker images list won't list the image and i receive a fatal error: fault on docker images command $ docker images list REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE $ $ docker images unexpected fault address 0xb01dfacedebac1e fatal error: fault [signal 0xb code=0x1 addr=0xb01dfacedebac1e pc=0x14f3af] goroutine 1 [running]: runtime.throw(0x5bda98, 0x5) /usr/local/Cellar/go/1.5.1/libexec/src/runtime/panic.go:527 +0x90 fp=0xc82013cdb0 sp=0xc82013cd98 runtime.sigpanic() /usr/local/Cellar/go/1.5.1/libexec/src/runtime/sigpanic_unix.go:27 +0x2ba fp=0xc82013ce00 sp=0xc82013cdb0 text/tabwriter.(*Writer).write0(0xc8201a0000, 0xc820186160, 0xa, 0x14a) /usr/local/Cellar/go/1.5.1/libexec/src/text/tabwriter/tabwriter.go:215 +0x5f fp=0xc82013ce70 sp=0xc82013ce00 text/tabwriter.(*Writer).writeLines(0xc8201a0000, 0x0, 0x0, 0x3, 0x0) /usr/local/Cellar/go/1.5.1/libexec/src/text/tabwriter/tabwriter.go:282 +0x4da fp=0xc82013cfb8 sp=0xc82013ce70 text/tabwriter.(*Writer).format(0xc8201a0000, 0x0, 0x0, 0x3, 0x0) /usr/local/Cellar/go/1.5.1/libexec/src/text/tabwriter/tabwriter.go:370 +0x317 fp=0xc82013d070 sp=0xc82013cfb8 text/tabwriter.(*Writer).format(0xc8201a0000, 0x0, 0x0, 0x3, 0x0) /usr/local/Cellar/go/1.5.1/libexec/src/text/tabwriter/tabwriter.go:363 +0x2a9 fp=0xc82013d128 sp=0xc82013d070 text/tabwriter.(*Writer).format(0xc8201a0000, 0x0, 0x0, 0x3, 0x0) /usr/local/Cellar/go/1.5.1/libexec/src/text/tabwriter/tabwriter.go:363 +0x2a9 fp=0xc82013d1e0 sp=0xc82013d128 text/tabwriter.(*Writer).format(0xc8201a0000, 0x0, 0x0, 0x3, 0x0) /usr/local/Cellar/go/1.5.1/libexec/src/text/tabwriter/tabwriter.go:363 +0x2a9 fp=0xc82013d298 sp=0xc82013d1e0 text/tabwriter.(*Writer).format(0xc8201a0000, 0x0, 0x0, 0x4, 0x0) /usr/local/Cellar/go/1.5.1/libexec/src/text/tabwriter/tabwriter.go:363 +0x2a9 fp=0xc82013d350 sp=0xc82013d298 text/tabwriter.(*Writer).Flush(0xc8201a0000, 0x0, 0x0) /usr/local/Cellar/go/1.5.1/libexec/src/text/tabwriter/tabwriter.go:466 +0x1f0 fp=0xc82013d3e8 sp=0xc82013d350 github.com/docker/docker/api/client.(*DockerCli).CmdImages(0xc8200a8300, 0xc82000a1b0, 0x0, 0x0, 0x0, 0x0) /private/tmp/docker20151015-58839-tt61q3/.gopath/src/github.com/docker/docker/api/client/images.go:127 +0x1be7 fp=0xc82013db08 sp=0xc82013d3e8 runtime.call64(0xc8200155e0, 0x5b67c8, 0xc820141f50, 0x2000000030) /usr/local/Cellar/go/1.5.1/libexec/src/runtime/asm_amd64.s:438 +0x3e fp=0xc82013db50 sp=0xc82013db08 reflect.callMethod(0xc820141f20, 0xc82013dc28) /usr/local/Cellar/go/1.5.1/libexec/src/reflect/value.go:628 +0x1fc fp=0xc82013dc10 sp=0xc82013db50 reflect.methodValueCall(0xc82000a1b0, 0x0, 0x0, 0x1, 0xc820141f20, 0x0, 0x0, 0xc820141f20, 0xc820160180, 0x66444, ...) /usr/local/Cellar/go/1.5.1/libexec/src/reflect/asm_amd64.s:29 +0x36 fp=0xc82013dc28 sp=0xc82013dc10 github.com/docker/docker/cli.(*Cli).Run(0xc820141b60, 0xc82000a1b0, 0x1, 0x1, 0x0, 0x0) /private/tmp/docker20151015-58839-tt61q3/.gopath/src/github.com/docker/docker/cli/cli.go:89 +0x383 fp=0xc82013dd10 sp=0xc82013dc28 main.main() /private/tmp/docker20151015-58839-tt61q3/docker/docker.go:69 +0x400 fp=0xc82013df00 sp=0xc82013dd10 runtime.main() /usr/local/Cellar/go/1.5.1/libexec/src/runtime/proc.go:111 +0x2b0 fp=0xc82013df50 sp=0xc82013df00 runtime.goexit() /usr/local/Cellar/go/1.5.1/libexec/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc82013df58 sp=0xc82013df50 goroutine 17 [syscall, locked to thread]: runtime.goexit() /usr/local/Cellar/go/1.5.1/libexec/src/runtime/asm_amd64.s:1696 +0x1 goroutine 5 [syscall]: os/signal.loop() /usr/local/Cellar/go/1.5.1/libexec/src/os/signal/signal_unix.go:22 +0x18 created by os/signal.init.1 /usr/local/Cellar/go/1.5.1/libexec/src/os/signal/signal_unix.go:28 +0x37 goroutine 7 [IO wait]: net.runtime_pollWait(0xe65ea8, 0x72, 0xc820010160) /usr/local/Cellar/go/1.5.1/libexec/src/runtime/netpoll.go:157 +0x60 net.(*pollDesc).Wait(0xc82015cf40, 0x72, 0x0, 0x0) /usr/local/Cellar/go/1.5.1/libexec/src/net/fd_poll_runtime.go:73 +0x3a net.(*pollDesc).WaitRead(0xc82015cf40, 0x0, 0x0) /usr/local/Cellar/go/1.5.1/libexec/src/net/fd_poll_runtime.go:78 +0x36 net.(*netFD).Read(0xc82015cee0, 0xc820155000, 0x1000, 0x1000, 0x0, 0xe60050, 0xc820010160) /usr/local/Cellar/go/1.5.1/libexec/src/net/fd_unix.go:232 +0x23a net.(*conn).Read(0xc8200300e8, 0xc820155000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/Cellar/go/1.5.1/libexec/src/net/net.go:172 +0xe4 net/http.noteEOFReader.Read(0xe65f68, 0xc8200300e8, 0xc820096108, 0xc820155000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/Cellar/go/1.5.1/libexec/src/net/http/transport.go:1370 +0x67 net/http.(*noteEOFReader).Read(0xc82014d3a0, 0xc820155000, 0x1000, 0x1000, 0x0, 0x0, 0x0) <autogenerated>:126 +0xd0 bufio.(*Reader).fill(0xc820018f60) /usr/local/Cellar/go/1.5.1/libexec/src/bufio/bufio.go:97 +0x1e9 bufio.(*Reader).Peek(0xc820018f60, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/Cellar/go/1.5.1/libexec/src/bufio/bufio.go:132 +0xcc net/http.(*persistConn).readLoop(0xc8200960b0) /usr/local/Cellar/go/1.5.1/libexec/src/net/http/transport.go:876 +0xf7 created by net/http.(*Transport).dialConn /usr/local/Cellar/go/1.5.1/libexec/src/net/http/transport.go:685 +0xc78 goroutine 8 [select]: net/http.(*persistConn).writeLoop(0xc8200960b0) /usr/local/Cellar/go/1.5.1/libexec/src/net/http/transport.go:1009 +0x40c created by net/http.(*Transport).dialConn /usr/local/Cellar/go/1.5.1/libexec/src/net/http/transport.go:686 +0xc9d However I'm still able to run the recently pulled image just fine with docker run. This is Docker for Mac version: 18.03.1-ce-mac-65 (24312). It's a new install on a macbook pro. I tried googling this but couldn't find anything. Any one have an idea as to what's going on?
The issue is it conflicted with an old docker installed via brew. That's why there's a lot of mention of "Cellar" in the output. Once i uninstalled the brew version of docker the commands worked and the images listed as expected.
getting error while trying to run docker image
I have hypriot OS installed on Raspberry pi I pulled the docker image but when trying to run it I am getting the below error of which I have no clue: docker run fbender/php54-apache-mysql panic: standard_init_linux.go:175: exec user process caused "exec format error" [recovered] panic: standard_init_linux.go:175: exec user process caused "exec format error" goroutine 1 [running, locked to thread]: panic(0x3360b0, 0x56ec4a40) /usr/local/go/src/runtime/panic.go:481 +0x330 github.com/urfave/cli.HandleAction.func1(0x56ec1958) /go/src/github.com/opencontainers/runc/Godeps/_workspace/src/github.com/urfave/cli/app.go:478 +0x328 panic(0x3360b0, 0x56ec4a40) /usr/local/go/src/runtime/panic.go:443 +0x448 github.com/opencontainers/runc/libcontainer.(*LinuxFactory).StartInitialization.func1(0x56ec15e0, 0x56e0e280, 0x56ec1668) /go/src/github.com/opencontainers/runc/Godeps/_workspace/src/github.com/opencontainers/runc/libcontainer/factory_linux.go:259 +0x13c github.com/opencontainers/runc/libcontainer.(*LinuxFactory).StartInitialization(0x56e88270, 0x46464490, 0x56ec4a40) /go/src/github.com/opencontainers/runc/Godeps/_workspace/src/github.com/opencontainers/runc/libcontainer/factory_linux.go:277 +0x498 main.glob.func8(0x56e7c320, 0x0, 0x0) /go/src/github.com/opencontainers/runc/main_unix.go:26 +0x58 reflect.Value.call(0x2eb600, 0x3f2948, 0x13, 0x3648b8, 0x4, 0x56ec1918, 0x1, 0x1, 0x0, 0x0, ...) /usr/local/go/src/reflect/value.go:435 +0xeb4 reflect.Value.Call(0x2eb600, 0x3f2948, 0x13, 0x56ec1918, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/reflect/value.go:303 +0x84 github.com/urfave/cli.HandleAction(0x2eb600, 0x3f2948, 0x56e7c320, 0x0, 0x0) /go/src/github.com/opencontainers/runc/Godeps/_workspace/src/github.com/urfave/cli/app.go:487 +0x230 github.com/urfave/cli.Command.Run(0x366cd8, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3d0d50, 0x51, 0x0, ...) /go/src/github.com/opencontainers/runc/Godeps/_workspace/src/github.com/urfave/cli/command.go:191 +0xcd0 github.com/urfave/cli.(*App).Run(0x56e74240, 0x56e56050, 0x2, 0x2, 0x0, 0x0) /go/src/github.com/opencontainers/runc/Godeps/_workspace/src/github.com/urfave/cli/app.go:240 +0x84c main.main() /go/src/github.com/opencontainers/runc/main.go:137 +0xbb4
boot2docker not starting in macOS Sierra
Any idea what this error means? My boot2docker does not start after I upgrade to macOS Sierra from El Capitan. Boot2Docker-cli version: v1.6.2 Git commit: cb2c3bc boot2docker up Waiting for VM and Docker daemon to start... ...................................unexpected fault address 0xde298ca7dd fatal error: fault [signal 0xa code=0x2 addr=0xde298ca7dd pc=0x4e914] goroutine 1 [running]: runtime.gothrow(0x387b20, 0x5) /usr/src/go/src/runtime/panic.go:503 +0x8e fp=0xc208099390 sp=0xc208099378 runtime.sigpanic() /usr/src/go/src/runtime/sigpanic_unix.go:23 +0x19e fp=0xc2080993e0 sp=0xc208099390 runtime.aeshashbody(0xc2080994f8, 0x10, 0x5edfbde5, 0xc208000120) /usr/src/go/src/runtime/asm_amd64.s:915 +0x74 fp=0xc2080993e8 sp=0xc2080993e0 runtime.mapassign1(0x296340, 0xc2080b4ab0, 0xc2080994f8, 0xc2080994f0) /usr/src/go/src/runtime/hashmap.go:396 +0xce fp=0xc208099488 sp=0xc2080993e8 net.(*singleflight).DoChan(0x52f3c0, 0xde298ca7dd, 0x9, 0xc2080bc720, 0x0) /usr/src/go/src/net/singleflight.go:81 +0x3c7 fp=0xc208099550 sp=0xc208099488 net.lookupIPDeadline(0xc208033160, 0x9, 0xe7791f701, 0x0, 0x52fe00, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/src/go/src/net/lookup.go:80 +0x312 fp=0xc208099788 sp=0xc208099550 net.resolveInternetAddr(0x38d100, 0x3, 0xc208033160, 0xe, 0xe7791f701, 0x0, 0x52fe00, 0x0, 0x0, 0x0, ...) /usr/src/go/src/net/ipsock.go:285 +0x49b fp=0xc2080998a0 sp=0xc208099788 net.resolveAddr(0x387000, 0x4, 0x38d100, 0x3, 0xc208033160, 0xe, 0xe7791f701, 0xc200000000, 0x52fe00, 0x0, ...) /usr/src/go/src/net/dial.go:110 +0x378 fp=0xc208099948 sp=0xc2080998a0 net.(*Dialer).Dial(0xc2080c8780, 0x38d100, 0x3, 0xc208033160, 0xe, 0x0, 0x0, 0x0, 0x0) /usr/src/go/src/net/dial.go:158 +0xf6 fp=0xc208099a90 sp=0xc208099948 net.DialTimeout(0x38d100, 0x3, 0xc208033160, 0xe, 0x3b9aca00, 0x0, 0x0, 0x0, 0x0) /usr/src/go/src/net/dial.go:150 +0xe6 fp=0xc208099b28 sp=0xc208099a90 main.read(0xc208033160, 0xe, 0x1, 0x11e1a300, 0x0, 0x0) /go/src/github.com/boot2docker/boot2docker-cli/util.go:36 +0x206 fp=0xc208099c58 sp=0xc208099b28 main.cmdUp(0x0, 0x0) /go/src/github.com/boot2docker/boot2docker-cli/cmds.go:101 +0x11bf fp=0xc208099df8 sp=0xc208099c58 main.run(0x0, 0x0) /go/src/github.com/boot2docker/boot2docker-cli/main.go:53 +0x305 fp=0xc208099ee0 sp=0xc208099df8 main.main() /go/src/github.com/boot2docker/boot2docker-cli/main.go:29 +0x27 fp=0xc208099f98 sp=0xc208099ee0 runtime.main() /usr/src/go/src/runtime/proc.go:63 +0xf3 fp=0xc208099fe0 sp=0xc208099f98 runtime.goexit() /usr/src/go/src/runtime/asm_amd64.s:2232 +0x1 fp=0xc208099fe8 sp=0xc208099fe0
boot2docker was replaced with DockerToolbox, just install the latest version: https://www.docker.com/products/docker-toolbox