mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-25 17:25:57 +03:00
[GH-ISSUE #743] cant remove docker image with wrong architecture #504
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#504
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 @schattenkrieger on GitHub (Nov 23, 2019).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/743
I just tried to migrate my docker installation from an raspi3 to an intel nuc.
i forgot to change server:raspberrypi to server:latest, so after starting the docker-compose file, docker pulled the raspi image and tried to start it. the only effect was that i was kicked back to the login dialog of my nuc.
i can log in fine again, and docker ps shows me the container is running.
but i can not access anything, and it shows me bitwardenrs/server:rasperrypi as source
no matter what i do to try to stop the container, docker-compose down, docker stop, systemctl stop docker, as soon as i touch the running container i get kicked back to the login screen. i even deleted the docker-compose file and the folders, but the container keeps running, and is still there after a reboot. i can also not start the correct server version, i allways get kicked back to the login.
when try over ssh i get disconnected from the server and it takes a few seconds before the server accepts ssh connections again.
is there any way to get rid of the wrong image without reinstalling the whole server again?
@mprasil commented on GitHub (Nov 23, 2019):
That honestly sounds more like docker problem. It seems that it has some issues with container that is crashing instantly or in unexpected way.
Do you have any data on docker that you'd like to preserve. Some volumes or images you've built? If not, then you can try stopping the docker service (
systemctl stop docker) and then wipe contents of/var/lib/docker/. Then you can start docker and it should look like you freshly installed it.This will obviously wipe any other containers you might have there, all the images and volumes.. But it sounds like you're kinda starting from scratch anyways.
Also I'm typing this on my mobile without checking the paths and commands correctness, so double check everything suggested.
@mprasil commented on GitHub (Nov 27, 2019):
Did you try that @schattenkrieger ? Did that work?
@dani-garcia commented on GitHub (May 13, 2020):
Closed due to inactivity.