Skip to content

Instantly share code, notes, and snippets.

View veeblefetzer's full-sized avatar

Wahid veeblefetzer

  • Hamburg, Germany
View GitHub Profile
@mamedshahmaliyev
mamedshahmaliyev / docker_usefull_commands.sh
Last active August 9, 2021 06:56
Usefull commands for docker-compose and docker, supplementary material for https://adhoctuts.com/run-mulitple-databases-in-single-machine-using-docker
#####################################################################
## docker-compose commands, works with service names ################
## docker-compose will look for docker-compose.yml file by default ##
#####################################################################
docker-compose up -d # build and start all the containers
docker-compose up -d service_name # build and start specific container
# stop and remove all the containers,
# removes all the data unless the data persistence is specified