Sign inSign up

michaelr0/volta-docker

By michaelr0

Updated almost 2 years ago

An unofficial container for Volta: The Hassle-Free JavaScript Tool Manager

Image
Developer tools
1

1.5K

michaelr0/volta-docker repository overview

volta-docker

An unofficial container for Volta: The Hassle-Free JavaScript Tool Manager

GitHub Actions Workflow Status

GitHub Actions Workflow Status

github.com/michaelr0/volta-docker

How to use this image

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

Basic usage
$ docker run --rm --interactive --tty \
  --volume $PWD:/app \
  michaelr0/volta-docker <command>
Filesystem permissions

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.

Credits

Tag summary

Content type

Image

Digest

sha256:f81e0ad6d

Size

134 MB

Last updated

about 2 years ago

docker pull michaelr0/volta-docker