[GH-ISSUE #542] Problem with starting docker bitwarden #346

Closed
opened 2026-03-03 01:28:13 +03:00 by kerem · 7 comments
Owner

Originally created by @LeoArnts on GitHub (Jul 23, 2019).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/542

After a restart of the Ubuntu server and starting the docker bitwarden i get the following error:

docker: Error response from daemon: error while creating mount source path '/bw-data': mkdir /bw-data: read-only file system.

Does someone have a solution ?

Regards,
Leo

Originally created by @LeoArnts on GitHub (Jul 23, 2019). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/542 After a restart of the Ubuntu server and starting the docker bitwarden i get the following error: docker: Error response from daemon: error while creating mount source path '/bw-data': mkdir /bw-data: read-only file system. Does someone have a solution ? Regards, Leo
kerem closed this issue 2026-03-03 01:28:13 +03:00
Author
Owner

@mprasil commented on GitHub (Jul 24, 2019):

It sounds like you have your filesystem mounted read-only. Could be corrupted filesystem or something similar. Can you create the directory yourself? (sudo mkdir /bw-data)

<!-- gh-comment-id:514564749 --> @mprasil commented on GitHub (Jul 24, 2019): It sounds like you have your filesystem mounted read-only. Could be corrupted filesystem or something similar. Can you create the directory yourself? (`sudo mkdir /bw-data`)
Author
Owner

@mprasil commented on GitHub (Jul 26, 2019):

Have you figured out the problem?

<!-- gh-comment-id:515616949 --> @mprasil commented on GitHub (Jul 26, 2019): Have you figured out the problem?
Author
Owner

@mprasil commented on GitHub (Jul 28, 2019):

Hi, I hope you figured the issue and this is now solved. I'm going to close this as there was no response for couple days. Feel free to reopen if you still experience problems.

<!-- gh-comment-id:515795250 --> @mprasil commented on GitHub (Jul 28, 2019): Hi, I hope you figured the issue and this is now solved. I'm going to close this as there was no response for couple days. Feel free to reopen if you still experience problems.
Author
Owner

@LeoArnts commented on GitHub (Jul 30, 2019):

Sorry the problem was gone after an update of docker in Ubuntu. But its back again.

<!-- gh-comment-id:516492748 --> @LeoArnts commented on GitHub (Jul 30, 2019): Sorry the problem was gone after an update of docker in Ubuntu. But its back again.
Author
Owner

@LeoArnts commented on GitHub (Jul 30, 2019):

root@docker:# docker pull bitwardenrs/server:latest
latest: Pulling from bitwardenrs/server
Digest: sha256:52f309e4deccd2191b1985a462651990dbe6ac324b4e29394c93e0cd0686bb47
Status: Image is up to date for bitwardenrs/server:latest
docker.io/bitwardenrs/server:latest
root@docker:
# docker run -d --name bitwarden -v /bw-data/:/data/ -p 80:80 bitwardenrs/server:latest
6837e21a5fba10b799c66f563b5ef1fb86200f58e5a32168b222ef320d9dc611
docker: Error response from daemon: error while creating mount source path '/bw-data': mkdir /bw-data: read-only file system.

<!-- gh-comment-id:516493382 --> @LeoArnts commented on GitHub (Jul 30, 2019): root@docker:~# docker pull bitwardenrs/server:latest latest: Pulling from bitwardenrs/server Digest: sha256:52f309e4deccd2191b1985a462651990dbe6ac324b4e29394c93e0cd0686bb47 Status: Image is up to date for bitwardenrs/server:latest docker.io/bitwardenrs/server:latest root@docker:~# docker run -d --name bitwarden -v /bw-data/:/data/ -p 80:80 bitwardenrs/server:latest 6837e21a5fba10b799c66f563b5ef1fb86200f58e5a32168b222ef320d9dc611 docker: Error response from daemon: error while creating mount source path '/bw-data': mkdir /bw-data: read-only file system.
Author
Owner

@mprasil commented on GitHub (Aug 1, 2019):

This seems to be some local system issue. I'd check the filesystem and drive maybe.

<!-- gh-comment-id:517175273 --> @mprasil commented on GitHub (Aug 1, 2019): This seems to be some local system issue. I'd check the filesystem and drive maybe.
Author
Owner

@ghost commented on GitHub (Dec 2, 2021):

Had the same problem using Ubuntu 20.04.3 with preinstalled docker option on a Proxmox vm.

The solution in my case was to simply run the command with /root/vw-data instead of /vw-data.

Don't know why, but worked.

<!-- gh-comment-id:984168556 --> @ghost commented on GitHub (Dec 2, 2021): Had the same problem using Ubuntu 20.04.3 with preinstalled docker option on a Proxmox vm. The solution in my case was to simply run the command with /root/vw-data instead of /vw-data. Don't know why, but worked.
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#346
No description provided.