Skip to content

Cannot pull linux/arm64 web image #488

@brccabral

Description

@brccabral

Self-host installation scripts issue

  • I understand this repository only tracks self-host installation scripts and any other issues should be reported in bitwarden/server

Steps To Reproduce

After Ticket #364 I was able to pull linux/arm64 for the Setup image. But after the setup, it pulls many images (mssql, nginx, events, icons, sso, web, and others), but the pulled Web image is linux/amd64.

sudo -i -u bitwarden # login as bitwarden user
curl -Lso bitwarden.sh "https://func.bitwarden.com/api/dl/?app=self-host&platform=linux" && chmod 700 bitwarden.sh
./bitwarden.sh install # pulls arm64 setup image
# nano ./bwdata/config.yml # make config changes
./bitwarden.sh update # pulls amd64 web image
 ✔ Network docker_public             Created                                                                                                                                            0.1s
 ✔ Network docker_default            Created                                                                                                                                            0.0s
 ✔ Container bitwarden-mssql         Created                                                                                                                                            4.3s
 ✔ Container bitwarden-notifications Created                                                                                                                                            4.3s
 ✔ Container bitwarden-attachments   Created                                                                                                                                            4.2s
 ✔ Container bitwarden-api           Created                                                                                                                                            4.3s
 ✔ Container bitwarden-events        Created                                                                                                                                            4.2s
 ✔ Container bitwarden-web           Created                                                                                                                                            4.3s
 ✔ Container bitwarden-identity      Created                                                                                                                                            4.3s
 ✔ Container bitwarden-icons         Created                                                                                                                                            4.2s
 ✔ Container bitwarden-sso           Created                                                                                                                                            4.2s
 ✔ Container bitwarden-admin         Created                                                                                                                                            0.1s
 ! web                               The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested     0.0s
 ✔ Container bitwarden-nginx         Created                                                                                                                                            0.0s
Error response from daemon: failed to set up container networking: driver failed programming external connectivity on endpoint bitwarden-nginx (4f888b7a772e412906af00683fce01cc025401e0d0e2d34814bccea86ec6f335): failed to bind host port 0.0.0.0:80/tcp: address already in use

Expected Result

install script should pull linux/arm64 images for all containers

Actual Result

we get linux/amd64 images

Screenshots or Videos

No response

Additional Context

No response

Build Version

bitwarden.sh version 2024.6.1

Environment

Self-Hosted

Environment Details

  • Raspberry Pi 5 Model B Rev 1.0
  • Debian GNU/Linux 12 (bookworm) aarch64
  • Docker version 29.2.1, build a5c7197

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions