mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-11-23 02:39:38 +02:00
Use console as it colors commands correctly
1 parent
73cc4a9091
commit
464ec71fdc
1 file changed
+2
-2
@@ -2,7 +2,7 @@ By default `vaultwarden/server` is using root user to run service inside the con
|
|||||||
|
|
||||||
1. Make sure that the directory, you're mounting inside the container will be writable by the user. For example if you decide to run as `nobody`, the directory needs to be writable by user with id 65534. For other ways to specify user inside the container, see the [docker documentation](https://docs.docker.com/engine/reference/run/#user), in our examples here we will use `nobody`.
|
1. Make sure that the directory, you're mounting inside the container will be writable by the user. For example if you decide to run as `nobody`, the directory needs to be writable by user with id 65534. For other ways to specify user inside the container, see the [docker documentation](https://docs.docker.com/engine/reference/run/#user), in our examples here we will use `nobody`.
|
||||||
|
|
||||||
```bash
|
```console
|
||||||
# Make the directory on the host, change this to you preferred path
|
# Make the directory on the host, change this to you preferred path
|
||||||
sudo mkdir /vw-data
|
sudo mkdir /vw-data
|
||||||
|
|
||||||
@@ -16,7 +16,7 @@ sudo chmod u+rwx /vw-data
|
|||||||
|
|
||||||
2. Start the container with proper parameters. Define the user and make sure to start with port set to `1024` or higher.
|
2. Start the container with proper parameters. Define the user and make sure to start with port set to `1024` or higher.
|
||||||
|
|
||||||
```bash
|
```console
|
||||||
docker run -d \
|
docker run -d \
|
||||||
--name vaultwarden \
|
--name vaultwarden \
|
||||||
--user nobody \
|
--user nobody \
|
||||||
|
|||||||
Reference in new issue
Block a user