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