Created
April 19, 2022 04:42
-
-
Save rymawby/6cbdfd3a20f428b9ec43f77c0f4f8d55 to your computer and use it in GitHub Desktop.
Update docker image using 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
// Pull latest version | |
docker-compose pull | |
// Stop and remove older version | |
docker-compose down | |
// Start the container | |
docker-compose up -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment