mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #2050] [ARM64v8] Unable to get it to start #1137
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#1137
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @XxAcielxX on GitHub (Oct 20, 2021).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/2050
Subject of the issue
Unable to get
vaultwarden/server:latestimage to work on ARM64v8.Deployment environment
vaultwarden version: N/A
Install method: Docker cli
Clients used: Android
Reverse proxy and version: Couldn't even get to this part.
MySQL/MariaDB or PostgreSQL version: N/A
Other relevant details: N/A
Steps to reproduce
docker pull vaultwarden/server:latestExpected behaviour
The container should start normally.
Actual behaviour
The container doesn't start at all and goes into bootloop with nothing showing up in container logs.
Troubleshooting data
There is only root user from which evrything is installed through.
@BlackDex commented on GitHub (Oct 20, 2021):
What do you see if you start it without
-d?@XxAcielxX commented on GitHub (Oct 20, 2021):
Nothing shows up at all. In Portainer, Status is
Stopped for 2 minutes with exit code 132. The image sha256 for arm64 my system pulled doesn't even match with the one from the latest arm64.@XxAcielxX commented on GitHub (Oct 21, 2021):
My guess was totally correct, doing
docker pull vaultwarden/server:latestis not pulling the correct image for my arch (arm64v8 or aarch64), but some unknown image.I now pulled using the digest id,
vaultwarden/server@sha256:4b072e53a84aa6fe57a658d71e6674466b9719b3a066a3c915ba052647503b08which was updated like 10h ago. Now I'm able to run Vaultwarden container.Why is this even happening?
@jjlin commented on GitHub (Oct 21, 2021):
What does
docker inspect vaultwarden/server:latest | grep -i archsay?You could also try upgrading to Docker 20.10.x since the 19.03.x branch is pretty much dead anyway.
@XxAcielxX commented on GitHub (Oct 22, 2021):
I'm using latest release of LibreELEC 10 and Docker 19.03.x is the only version available.
The one I'm using now is:
@jjlin commented on GitHub (Oct 22, 2021):
Well, it's up to the local Docker install to select the proper image based on its local arch, so if it's not doing that, you should probably bring it up with the LibreELEC project. Maybe they ship a build of Docker with their own patches, or maybe the issue is fixed in a later version of Docker.
I have access to an ARMv8 machine running Docker 20.10.x, and it pulls the correct image there. Using
docker pull --platform linux/arm64 vaultwarden/server:latestmight be a viable workaround for now, assuming your Docker version supports the--platformflag -- I don't remember when support for that was added.@XxAcielxX commented on GitHub (Oct 22, 2021):
You might be right as this could be a distro related or docker version issue. I'll see if I can ask the Team LibreELEC to update the Docker to the latest version.
--platformis a workaround for now, but it is still an experimental feature in Docker 19.03.x, I'll try to enable it for now to use that. Thanks for the help mate.@BlackDex commented on GitHub (Oct 22, 2021):
These were indeed also issues which other users reported having with docker and multi-arch images. Not sure if you can update the docker daemon on it? If it is Debian based then you could take a look here: https://docs.docker.com/engine/install/debian/
Since docker-ce does have arm64/aarch64 builds.