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