An unofficial container for Volta: The Hassle-Free JavaScript Tool Manager
1.5K
An unofficial container for Volta: The Hassle-Free JavaScript Tool Manager
github.com/michaelr0/volta-docker
This image comes preinstalled with Node 20 LTS, but commands such as npm, yarn should automatically download and use any defined version from your package.json
$ docker run --rm --interactive --tty \
--volume $PWD:/app \
michaelr0/volta-docker <command>
By default, Volta runs as root inside the container. This can lead to permission issues on your host filesystem. You can work around this by running the container with a different user:
$ docker run --rm --interactive --tty \
--user $(id -u):$(id -g) \
--volume $PWD:/app \
michaelr0/volta-docker <command>
See: https://docs.docker.com/engine/reference/run/#user for details.
Note: Docker for Mac behaves differently and this tip might not apply to Docker for Mac users.
Content type
Image
Digest
sha256:f81e0ad6d…
Size
134 MB
Last updated
about 2 years ago
docker pull michaelr0/volta-docker