更新 README.md
This commit is contained in:
parent
c7fc46ba9b
commit
3f39c86f84
@ -112,9 +112,8 @@ Docker自己装
|
||||
|
||||
```bash
|
||||
sudo docker build -t chenx221-yii2-netdisk .
|
||||
docker network create my-network
|
||||
docker run -d --name mariadb-container \
|
||||
-v /home/chenx221/db.sql:/docker-entrypoint-initdb.d/db.sql \
|
||||
-v /root/db.sql:/docker-entrypoint-initdb.d/db.sql \
|
||||
-e MYSQL_ROOT_PASSWORD=chenx221 \
|
||||
--network=my-network \
|
||||
--restart always \
|
||||
|
Loading…
x
Reference in New Issue
Block a user