Created
January 17, 2018 12:57
-
-
Save verticonaut/4794d66548926f31fd8e13dfd7c5fa0d to your computer and use it in GitHub Desktop.
Docker commands
This file contains 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 ps | |
# running docker container | |
docker stop <contaienrId> | |
# stop the container | |
docker images | |
# list all installed images | |
# Start containers ========================================== | |
# REDIS | |
docker run -it --rm -p 6379:6379 -d --name redis redis:alpine | |
# POSTGRES | |
docker run -it --rm -p 5432:5432 -d --name postgres postgres:alpine |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment