You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What's next:
View a summary of image vulnerabilities and recommendations → docker scout quickview
➜ gomodd git:(main) ✗ docker scout quickview
i New version 1.15.1 available (installed version is 1.14.0) at https://github.com/docker/scout-cli
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x104749fb4]
Description
1Dockerfile X
FROM golang:1.20.3-alpine
ENV GOPROXY=https://goproxy.cn,direct
ENV TZ=Asia/Shanghai
RUN apk update --no-cache && apk add --no-cache tzdata
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ >/etc/timezone
RUN go install github.com/cortesi/modd/cmd/modd@latest
WORKDIR /go
CMD ["modd"]
➜ gomodd git:(main) ✗ sudo docker build .
[+] Building 37.4s (10/10) FINISHED docker:desktop-linux
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 342B 0.0s
=> [internal] load metadata for docker.io/library/golang:1.20.3-alpine 3.7s
=> [auth] library/golang:pull token for registry-1.docker.io 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [1/5] FROM docker.io/library/golang:1.20.3-alpine@sha256:08e9c086194875334d606765bd60aa064abd3c215abfbcf5737619110d48d114 5.3s
=> => resolve docker.io/library/golang:1.20.3-alpine@sha256:08e9c086194875334d606765bd60aa064abd3c215abfbcf5737619110d48d114 0.0s
=> => sha256:b29e5e6ea2c40f4f8977f5886a35a943450cfcf6056b0ce97e32c6786bc5c119 156B / 156B 0.9s
=> => sha256:c2ac23d08d88d0780a5e2deff6f705ac18f198652ca7eb10eb7bb09a0c15f48a 96.00MB / 96.00MB 4.0s
=> => sha256:ed15518f570754b8336aff46024845ecb67da1ab7729e4d5701a42fa4c19396b 286.26kB / 286.26kB 1.9s
=> => sha256:c41833b44d910632b415cd89a9cdaa4d62c9725dc56c99a7ddadafd6719960f9 3.26MB / 3.26MB 2.5s
=> => extracting sha256:c41833b44d910632b415cd89a9cdaa4d62c9725dc56c99a7ddadafd6719960f9 0.1s
=> => extracting sha256:ed15518f570754b8336aff46024845ecb67da1ab7729e4d5701a42fa4c19396b 0.0s
=> => extracting sha256:c2ac23d08d88d0780a5e2deff6f705ac18f198652ca7eb10eb7bb09a0c15f48a 1.3s
=> => extracting sha256:b29e5e6ea2c40f4f8977f5886a35a943450cfcf6056b0ce97e32c6786bc5c119 0.0s
=> [2/5] RUN apk update --no-cache && apk add --no-cache tzdata 5.4s
=> [3/5] RUN ln -snf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo Asia/Shanghai >/etc/timezone 0.1s
=> [4/5] RUN go install github.com/cortesi/modd/cmd/modd@latest 20.0s
=> [5/5] WORKDIR /go 0.0s
=> exporting to image 2.8s
=> => exporting layers 2.2s
=> => exporting manifest sha256:938e52a8b414eaa100b1efa0b7eda423d7cc149d1349ef90c7e0c1bf85e41820 0.0s
=> => exporting config sha256:737198337d3b7dc33e4d5deae5975753bf54f60ddb00b8edcf342a650d66228e 0.0s
=> => exporting attestation manifest sha256:7846869ac3c34d039918bc0fd54af94835527d6207fa9a4ce9b11549aeea61bf 0.0s
=> => exporting manifest list sha256:beb5ac98c60397c706b03a232bd90471ccaee00c0dfd55614ab3a78a5770305d 0.0s
=> => naming to moby-dangling@sha256:beb5ac98c60397c706b03a232bd90471ccaee00c0dfd55614ab3a78a5770305d 0.0s
=> => unpacking to moby-dangling@sha256:beb5ac98c60397c706b03a232bd90471ccaee00c0dfd55614ab3a78a5770305d 0.5s
What's next:
View a summary of image vulnerabilities and recommendations → docker scout quickview
➜ gomodd git:(main) ✗ docker scout quickview
i New version 1.15.1 available (installed version is 1.14.0) at https://github.com/docker/scout-cli
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x104749fb4]
goroutine 1 [running]:
github.com/docker/scout-cli-plugin/internal/commands/quickview.NewCmd.func2(0x0?, {0x0?, 0x0?, 0x290cf97600000000?})
/home/runner/work/scout-cli-plugin/scout-cli-plugin/internal/commands/quickview/quickview.go:183 +0x5b4
github.com/docker/cli/cli-plugins/plugin.RunPlugin.func1.1.2(0x14000c3a908, {0x1069ca500, 0x0, 0x0})
/home/runner/go/pkg/mod/github.com/docker/cli@v27.1.1+incompatible/cli-plugins/plugin/plugin.go:64 +0x68
github.com/spf13/cobra.(*Command).execute(0x14000c3a908, {0x1400059fb10, 0x0, 0x0})
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:985 +0x834
github.com/spf13/cobra.(*Command).ExecuteC(0x14000c8b508)
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1117 +0x344
github.com/spf13/cobra.(*Command).Execute(...)
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1041
github.com/docker/cli/cli-plugins/plugin.RunPlugin(0x1400065bb80, 0x14000812c08, {{0x104769403, 0x5}, {0x104793484, 0xb}, {0x14000a02690, 0x7}, {0x1047a059a, 0xc}, ...})
/home/runner/go/pkg/mod/github.com/docker/cli@v27.1.1+incompatible/cli-plugins/plugin/plugin.go:79 +0x138
main.runPlugin(0x1400065bb80)
/home/runner/work/scout-cli-plugin/scout-cli-plugin/cmd/docker-scout/main.go:29 +0x104
main.main()
/home/runner/work/scout-cli-plugin/scout-cli-plugin/cmd/docker-scout/main.go:53 +0x130
➜ gomodd git:(main) ✗
Reproduce
same
Expected behavior
No response
docker version
Client: Docker Engine - Community Version: 27.3.1 API version: 1.47 Go version: go1.23.1 Git commit: ce1223035a Built: Fri Sep 20 11:01:47 2024 OS/Arch: darwin/arm64 Context: desktop-linux Server: Docker Desktop 4.35.1 (173168) Engine: Version: 27.3.1 API version: 1.47 (minimum version 1.24) Go version: go1.22.7 Git commit: 41ca978 Built: Fri Sep 20 11:41:19 2024 OS/Arch: linux/arm64 Experimental: false containerd: Version: 1.7.21 GitCommit: 472731909fa34bd7bc9c087e4c27943f9835f111 runc: Version: 1.1.13 GitCommit: v1.1.13-0-g58aa920 docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Diagnostics ID
F60319C0-2392-4083-A17B-61D8F3E1B128/20241115125847
Additional Info
No response
The text was updated successfully, but these errors were encountered: