We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buildx crashes when trying to set driver opts. The corruption prevents DD from starting.
colin@MacBook-Pro ~/Developer/docker/build-bench docker buildx create --name do-nyc-1 \ SIGINT(2) ↵ 695 12:04:14 --driver docker-container \ --driver-opt "memory=3g" \ ssh://root@do-nyc-1 do-nyc-1 panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x2 addr=0x48 pc=0x101964d10] goroutine 11 [running]: github.com/docker/buildx/builder.(*Node).loadData(0x1400053bd30, {0x102cde0b0, 0x1400002d6c0}) github.com/docker/buildx/builder/node.go:206 +0x40 github.com/docker/buildx/builder.(*Builder).LoadNodes.(*Builder).LoadNodes.func2.func3() github.com/docker/buildx/builder/node.go:151 +0x424 golang.org/x/sync/errgroup.(*Group).Go.func1() golang.org/x/sync@v0.3.0/errgroup/errgroup.go:75 +0x58 created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1 golang.org/x/sync@v0.3.0/errgroup/errgroup.go:72 +0x98
Builder node to be created with correct settings and no crash
Buildx crash and DD fails to start. The only fix is to go in and remove the instance
rm ~/.docker/buildx/instances/do-nyc-1
github.com/docker/buildx v0.10.4 c513d34
Client: Context: default Debug Mode: false Plugins: buildx: Docker Buildx (Docker Inc., v0.10.4) compose: Docker Compose (Docker Inc., v2.17.2) Server: Containers: 0 Running: 0 Paused: 0 Stopped: 0 Images: 0 Server Version: 20.10.24 Storage Driver: overlay2 Backing Filesystem: extfs Supports d_type: true Native Overlay Diff: true userxattr: false Logging Driver: json-file Cgroup Driver: systemd Cgroup Version: 2 Plugins: Volume: local Network: bridge host ipvlan macvlan null overlay Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog Swarm: inactive Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc Default Runtime: runc Init Binary: docker-init containerd version: 2806fc1057397dbaeefbea0e4e17bddfbd388f38 runc version: init version: de40ad0 Security Options: apparmor seccomp Profile: default cgroupns Kernel Version: 6.5.0-9-generic Operating System: Ubuntu Core 22 OSType: linux Architecture: x86_64 CPUs: 8 Total Memory: 15.61GiB Name: colin-c-8-16gib-nyc3-01 ID: AJTK:JTHR:CTJ4:4EVR:CJWX:KEQC:PVMH:TXY3:PBJ5:TENW:KSXE:JOWN Docker Root Dir: /var/snap/docker/common/var-lib-docker Debug Mode: false Registry: https://index.docker.io/v1/ Labels: Experimental: false Insecure Registries: 127.0.0.0/8 Live Restore Enabled: false
NA
No response
The text was updated successfully, but these errors were encountered:
crazy-max
Successfully merging a pull request may close this issue.
Contributing guidelines
I've found a bug and checked that ...
Description
Buildx crashes when trying to set driver opts. The corruption prevents DD from starting.
Expected behaviour
Builder node to be created with correct settings and no crash
Actual behaviour
Buildx crash and DD fails to start. The only fix is to go in and remove the instance
Buildx version
github.com/docker/buildx v0.10.4 c513d34
Docker info
Builders list
Configuration
NA
Build logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: