更新 README.md

This commit is contained in:
Chenx221 2024-05-24 14:41:03 +00:00
parent c7fc46ba9b
commit 3f39c86f84

View File

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