fix(readme): remove incorrect part

This commit is contained in:
hexxa 2021-09-14 10:42:23 +08:00 committed by Hexxa
parent 6f84ff750a
commit 05c89234f0
2 changed files with 12 additions and 14 deletions

View file

@ -50,13 +50,12 @@ Then you can open `http://127.0.0.1:8686` and log in with user name `qs` and pas
```
docker run \
--name quickshare \
-d -p 8686:8686 \
-v `pwd`/quickshare/root:/quickshare/root \
-e DEFAULTADMIN=qs \
-e DEFAULTADMINPWD=1234 \
--user $(id -u):$(id -g) \
hexxa/quickshare
--name quickshare \
-d -p 8686:8686 \
-v `pwd`/quickshare/root:/quickshare/root \
-e DEFAULTADMIN=qs \
-e DEFAULTADMINPWD=1234 \
hexxa/quickshare
```
- `DEFAULTADMIN` is the default user name

View file

@ -48,13 +48,12 @@
```
docker run \
--name quickshare \
-d -p 8686:8686 \
-v `pwd`/quickshare/root:/quickshare/root \
-e DEFAULTADMIN=qs \
-e DEFAULTADMINPWD=1234 \
--user $(id -u):$(id -g) \
hexxa/quickshare
--name quickshare \
-d -p 8686:8686 \
-v `pwd`/quickshare/root:/quickshare/root \
-e DEFAULTADMIN=qs \
-e DEFAULTADMINPWD=1234 \
hexxa/quickshare
```
- `DEFAULTADMIN` 是默认的用户名