Just create containers, dont start them
Thus no cost if you dont use them.
This commit is contained in:
parent
a0fe3340ac
commit
d5aef4645d
@ -1,2 +1,2 @@
|
|||||||
docker run -d --restart unless-stopped -p 3306:3306 --name=mysql8 -e MYSQL_ROOT_PASSWORD= -e MYSQL_ALLOW_EMPTY_PASSWORD=true mysql:8
|
docker create -d --restart unless-stopped -p 3306:3306 --name=mysql8 -e MYSQL_ROOT_PASSWORD= -e MYSQL_ALLOW_EMPTY_PASSWORD=true mysql:8
|
||||||
docker run -d --restart unless-stopped -p 6379:6379 --name=redis redis
|
docker create -d --restart unless-stopped -p 6379:6379 --name=redis redis
|
||||||
|
Loading…
Reference in New Issue
Block a user