Created
April 1, 2017 13:29
-
-
Save abhinavkorpal/af6c982dd693bf6b8e1749ebc24fa533 to your computer and use it in GitHub Desktop.
Docker Compose
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-compose build ## build ~ build or rebuild services define in docker-compose.yml | |
docker-compose build mongo ## mongo ~ only build and rebuild mongo service | |
docker-compose up ## up ~ create and start the container | |
docker-compose upm --no-deps node ## no-deps ~ do not create services that node depends on, node ~ rebuild not images and stop, destroy and recreate only node | |
docker-compose down ## take all the container down(stop and remove) | |
docker-compose down --rmi all --volumes ## remove all volumes and images | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment