Created
November 24, 2019 12:56
-
-
Save D-system/b1e92c35fae0b682de5d926a9b928d05 to your computer and use it in GitHub Desktop.
Docker helper
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# docker stop mysql_5.7 | |
# docker run -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=true -e MYSQL_DATABASE=circle_test -e MYSQL_HOST=127.0.0.1 -e MYSQL_USER=root --shm-size 2G --name mysql_5.7 circleci/mysql:5.7-ram | |
docker restart mysql_5.7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# docker restart postgres_10.5 | |
# docker run -p 5432:5432 -e POSTGRES_PASSWORD=pass -e POSTGRES_USER=postgres --shm-size 2G --name postgres_10.5 circleci/postgres:10.5-alpine-postgis-ram | |
# docker stop postgres_10.5 | |
docker restart postgres_10.5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# docker run -p 6379:6379 --name redis_5 library/redis:5 | |
docker restart redis_5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment