Last active
November 8, 2022 17:24
-
-
Save avsilva/9a5d111e2c711ec0bb621fba820cb004 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
--you must first name your local image using your Docker Hub username and the repository name that you created through Docker Hub on the web. You can add multiple images to a repository by adding a specific :<tag> | |
docker tag qgis-server:latest avssilva/myrepo:qgis-server | |
docker login | |
docker push avssilva/myrepo:qgis-server | |
docker pull avssilva/myrepo:qgis-server | |
--bash console container | |
docker exec -it <container-name> /bin/bash | |
--copy files btw host and container | |
docker cp <containerid>:/usr/share/.../*.yml /home/.../... | |
docker cp /home/.../*.yml <containerid>:/usr/share/.../.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment