更新 README.md

This commit is contained in:
Chenx221 2024-05-24 15:41:02 +00:00
parent 3f39c86f84
commit 98f7a73fd2

View File

@ -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 \