mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-08-10 08:27:25 +00:00
fix(content): harden Compose credential examples
This commit is contained in:
@@ -33,7 +33,7 @@ $ docker run --name some-app -d --network my-mysql-net application-that-uses-mys
|
||||
$ docker run -it --rm \
|
||||
--network my-mysql-net \
|
||||
mysql \
|
||||
sh -c 'exec mysql -hsome-mysql -P3306 -uroot -pmysecretpassword'
|
||||
sh -c 'exec mysql -hsome-mysql -P3306 -uroot -p'
|
||||
```
|
||||
|
||||
### Dockerfile
|
||||
|
||||
Reference in New Issue
Block a user