[GH-ISSUE #2775] First time setting up docker/VW strange res error? #1372

Closed
opened 2026-03-03 02:08:36 +03:00 by kerem · 9 comments
Owner

Originally created by @DudeThatsErin on GitHub (Sep 28, 2022).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/2775

This is my console when trying to set it up using the stuff on the main page: https://srcb.in/fYNKW5jHl3

I've tried googling the error and you can see me running a command to cancel all docker instances and yet it still doesn't work for some reason.

I would love to get this working but idk what is happening.

This is on my VPS with Hostinger with these setups:

  • Linux Ubuntu 20.04
  • root access
  • 1GB RAM
  • 20GB Storage
  • 1 CPU
  • IPv4 & IPv6
  • 1TB Bandwidth

I am saving up to afford a bigger server with more RAM but for now this is what I have.

Originally created by @DudeThatsErin on GitHub (Sep 28, 2022). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/2775 This is my console when trying to set it up using the stuff on the main page: https://srcb.in/fYNKW5jHl3 I've tried googling the error and you can see me running a command to cancel all docker instances and yet it still doesn't work for some reason. I would love to get this working but idk what is happening. This is on my VPS with Hostinger with these setups: - Linux Ubuntu 20.04 - root access - 1GB RAM - 20GB Storage - 1 CPU - IPv4 & IPv6 - 1TB Bandwidth I am saving up to afford a bigger server with more RAM but for now this is what I have.
kerem closed this issue 2026-03-03 02:08:36 +03:00
Author
Owner

@BlackDex commented on GitHub (Sep 28, 2022):

In theory 1G should be enough. But could you try the Alpine based images, and see if that helps?

<!-- gh-comment-id:1261481790 --> @BlackDex commented on GitHub (Sep 28, 2022): In theory 1G should be enough. But could you try the Alpine based images, and see if that helps?
Author
Owner

@BlackDex commented on GitHub (Sep 28, 2022):

Ow, wait, you seem to be using port 80 already for something else. You can't run two applications on the same port without a proxy.

<!-- gh-comment-id:1261483010 --> @BlackDex commented on GitHub (Sep 28, 2022): Ow, wait, you seem to be using port 80 already for something else. You can't run two applications on the same port without a proxy.
Author
Owner

@DudeThatsErin commented on GitHub (Sep 28, 2022):

Ow, wait, you seem to be using port 80 already for something else. You can't run two applications on the same port without a proxy.

Oh so changing the port should fix that? Good to know.

<!-- gh-comment-id:1261522710 --> @DudeThatsErin commented on GitHub (Sep 28, 2022): > Ow, wait, you seem to be using port 80 already for something else. You can't run two applications on the same port without a proxy. Oh so changing the port should fix that? Good to know.
Author
Owner

@BlackDex commented on GitHub (Sep 28, 2022):

Ow, wait, you seem to be using port 80 already for something else. You can't run two applications on the same port without a proxy.

Oh so changing the port should fix that? Good to know.

If you would use -p 8080:80 that would probably work.

<!-- gh-comment-id:1261524016 --> @BlackDex commented on GitHub (Sep 28, 2022): > > Ow, wait, you seem to be using port 80 already for something else. You can't run two applications on the same port without a proxy. > > Oh so changing the port should fix that? Good to know. If you would use `-p 8080:80` that would probably work.
Author
Owner

@DudeThatsErin commented on GitHub (Sep 28, 2022):

Ow, wait, you seem to be using port 80 already for something else. You can't run two applications on the same port without a proxy.

Oh so changing the port should fix that? Good to know.

If you would use -p 8080:80 that would probably work.

So, that worked but now I have a different error...

root@flowering-goodness:~# docker run -d --name vaultwarden -v /vw-data/:/data/ -p 8080:80 vaultwarden/server:latest
3a8a0516ea9b499efbe7d5ecb7f623205194c31cced691ba4e1da9074026476e
root@flowering-goodness:~# docker run valtwarden
Unable to find image 'valtwarden:latest' locally
docker: Error response from daemon: pull access denied for valtwarden, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
<!-- gh-comment-id:1261527591 --> @DudeThatsErin commented on GitHub (Sep 28, 2022): > > > Ow, wait, you seem to be using port 80 already for something else. You can't run two applications on the same port without a proxy. > > > > > > Oh so changing the port should fix that? Good to know. > > If you would use `-p 8080:80` that would probably work. So, that worked but now I have a different error... ``` root@flowering-goodness:~# docker run -d --name vaultwarden -v /vw-data/:/data/ -p 8080:80 vaultwarden/server:latest 3a8a0516ea9b499efbe7d5ecb7f623205194c31cced691ba4e1da9074026476e root@flowering-goodness:~# docker run valtwarden Unable to find image 'valtwarden:latest' locally docker: Error response from daemon: pull access denied for valtwarden, repository does not exist or may require 'docker login': denied: requested access to the resource is denied. See 'docker run --help'. ```
Author
Owner

@DudeThatsErin commented on GitHub (Sep 28, 2022):

Oh, I can't spell, hold on... Spelled correctly and same error.

<!-- gh-comment-id:1261528273 --> @DudeThatsErin commented on GitHub (Sep 28, 2022): Oh, I can't spell, hold on... Spelled correctly and same error.
Author
Owner

@DudeThatsErin commented on GitHub (Sep 28, 2022):

I got it. It was docker start vaultwarden.

Is there a way to use it on a domain like domain.com? So, I can go to domain.com:8080 to access the vault, instead of an IP?

<!-- gh-comment-id:1261530763 --> @DudeThatsErin commented on GitHub (Sep 28, 2022): I got it. It was `docker start vaultwarden`. Is there a way to use it on a domain like domain.com? So, I can go to domain.com:8080 to access the vault, instead of an IP?
Author
Owner

@stefan0xC commented on GitHub (Sep 28, 2022):

I've tried googling the error and you can see me running a command to cancel all docker instances and yet it still doesn't work for some reason.

I'd advise against running commands you find googling when you don't even know what the problem is or what the command actually does. docker rm -f $(docker ps -aq) removes all containers which might not be what you wanted. I would have at least checked the output of docker ps -a to see which containers would be affected and if they were running (the -f means forcefully killing the container which if you're unlucky might lead to data corruption).

Side note: this is a bug tracker and not the support forum. If you prefer to chat, you can visit the #vaultwarden:matrix.org room on Matrix. There is also the wiki with many useful resources and examples that might just answer your questions or at least should help get you started.

<!-- gh-comment-id:1261544502 --> @stefan0xC commented on GitHub (Sep 28, 2022): > I've tried googling the error and you can see me running a command to cancel all docker instances and yet it still doesn't work for some reason. I'd advise against running commands you find googling when you don't even know what the problem is or what the command actually does. `docker rm -f $(docker ps -aq)` removes all containers which might not be what you wanted. I would have at least checked the output of `docker ps -a` to see which containers would be affected and if they were running (the `-f` means forcefully killing the container which if you're unlucky might lead to data corruption). Side note: this is a bug tracker and not the [support forum](https://vaultwarden.discourse.group/). If you prefer to chat, you can visit the [#vaultwarden:matrix.org](https://matrix.to/#/#vaultwarden:matrix.org) room on Matrix. There is also the [wiki](https://github.com/dani-garcia/vaultwarden/wiki) with many useful resources and examples that might just answer your questions or at least should help get you started.
Author
Owner

@DudeThatsErin commented on GitHub (Sep 28, 2022):

Alright, thank you.

<!-- gh-comment-id:1261567032 --> @DudeThatsErin commented on GitHub (Sep 28, 2022): Alright, thank you.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#1372
No description provided.