Docker 29 · Containers

Run a throwaway shell with your code mounted

Start a temporary container, mount the current folder and delete the container when you exit.

docker run --rm -it -v "$(pwd)":/app -w /app node:24 bash

Official Docker 29 documentation

More containers commands

All containers commands · Docker 29 cheatsheet

Was this page helpful?