Skip to content

Additional buildx platforms wiped after restarting computer #209

Open
@chrissyast

Description

@chrissyast

Is this a bug report, feature (enhancement) request or question? (leave only one on its own line)

/kind bug

Description:
Following this guide to get arm-64 as a platform on my buildx. First time around everything worked perfectly, then restarted my computer and now I'm back to only the two platforms I started with. Repeating the original process doesn't bring the others back.

Steps to reproduce the issue:

  1. Run docker buildx ls
    // default ... linux/amd64, linux/amd64/v2

  2. Run sudo apt-get install -y qemu qemu-user-static

  3. Run docker buildx ls
    // default ... linux/amd64, linux/386, linux/arm64, linux/riscv64, linux/ppc64le, linux/s390x, linux/arm/v7, linux/arm/v6

  4. Restart computer

  5. Run docker buildx ls

Describe the results you received:
// default ... linux/amd64, linux/amd64/v2
Even after repeating step 2 still the same result.
If I run atp-get remove... and then install... again, desired functionality is observed
Describe the results you expected:
// default ... linux/amd64, linux/386, linux/arm64, linux/riscv64, linux/ppc64le, linux/s390x, linux/arm/v7, linux/arm/v6

Environment:
Ubuntu 20.04 LTS (on WSL2)

  • QEMU version: (if you can know it): 1:4.2-3ubuntu6.30
  • Container application: Docker
    Output of docker version
**Client: Docker Engine - Community**
 Version:           27.3.1
 API version:       1.47
 Go version:        go1.22.7
 Git commit:        ce12230
 Built:             Fri Sep 20 11:41:03 2024
 OS/Arch:           linux/amd64
 Context:           default

**Server: Docker Engine - Community**
 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:03 2024
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.7.24
  GitCommit:        88bf19b2105c8b17560993bee28a01ddc2f97182
 runc:
  Version:          1.2.2
  GitCommit:        v1.2.2-0-g7cb3632
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions