Last active
December 30, 2024 16:33
-
-
Save rrmistry/f415f21c5bdd73647fb0ad509eeda2ff to your computer and use it in GitHub Desktop.
Docker based CLIs
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
# Run git as a docker container | |
docker run -it --rm --volume "${HOME}:/root" --volume "${PWD}:/git" --pull "always" "alpine/git" "clone" $1 |
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
# Run N8n locally as a docker container | |
docker run --name "n8n" -it --rm --detach --volume "${HOME}/.n8n:/home/node/.n8n" --publish "5678:5678" --pull "always" "docker.n8n.io/n8nio/n8n" |
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
# Run ollama server locally as a docker container | |
docker run --name "ollama" --detach --volume "${HOME}/.ollama:/root/.ollama" --publish "11434:11434" --pull "always" "ollama/ollama" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment