Last active
July 12, 2024 16:13
-
-
Save eleazarbr/b92919da6e6fbf3608c3a914d5b835b9 to your computer and use it in GitHub Desktop.
I created this gist to keep track of various operations with my images and containers.
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 build | |
docker build -t processmaker4/executor-processmaker-sql-2:v0.1.0 . | |
docker run | |
docker run -it processmaker4/executor-processmaker-sql-2:v0.1.0 /bin/bash | |
docker run with data mapping | |
docker run -it -v ./src/config.json:/opt/executor/config.json -v ./src/data.json:/opt/executor/data.json -v ./src/script.sql:/opt/executor/script.sql -v ./src/output.json:/opt/executor/output.json processmaker4/executor-processmaker-sql-2:v0.1.0 /bin/bash | |
docker-compose | |
docker-compose up -d | |
docker-compose down | |
docker start daemon | |
open --background -a Docker | |
docker ps | |
Lists all active containers. | |
docker ps -a | |
Lists all containers. | |
docker rm | |
docker container prune | |
prune | |
docker images | |
docker image prune | |
docker rmi a8b538853167 | |
docker volume ls | |
docker volume prune | |
docker system prune |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment