Fix TP1
This commit is contained in:
parent
b171ee869d
commit
f0a7e085fe
2 changed files with 3 additions and 2 deletions
|
|
@ -76,7 +76,7 @@ meilleurs.
|
|||
Voici comment on pourrait lancer un conteneur exécutant une base de données :
|
||||
|
||||
```
|
||||
docker run -v /var/lib/mysql --name dbdata busybox
|
||||
docker create -v /var/lib/mysql --name dbdata busybox /bin/true
|
||||
docker run --volume-from dbdata -e MYSQL_ROOT_PASSWORD=mysecretpassword -d mysql
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue