Skip to content

Instantly share code, notes, and snippets.

View hang333's full-sized avatar
🐟
摸鱼

Jonathan Goh hang333

🐟
摸鱼
View GitHub Profile
@hang333
hang333 / docker_quick_run.sh
Created March 12, 2025 14:53 — forked from gmolveau/docker_quick_run.sh
Quickly run a temporary docker container and execute bash to try things (like a CI script)
docker run --rm -it -v $PWD:/tmp debian:10-slim /bin/bash
# --rm : remove after exit
# -it : interactive TTY
# -v : mount folder : current folder to /tmp folder of the container
# debian:10-slim : docker image https://git.io/JJzfy
# /bin/bash : run bash in this container