Public | Automated Build

Last pushed: a year ago
Short Description
Dockerized local-npm (
Full Description

🐳 local-npm

Dockerfile to build a local-npm container image.


Obviously you will need Docker to run, build and update the local-npm container. Thats all.

How to use the local-npm docker

Using the local-npm docker is quite easy. Simply run one of the automated builds which are available on Dockerhub and configure npm to use your new local registry.

Use the following command to pull the latest image and run it (recommended method of installation):

$ docker run -d -v "$PWD/data":/data -p 5080:5080 orlandohohmeier/local-npm:latest

This command will start the local-npm container, mount a data volume (working-directory/data) as /data and map the container port (5080- default local-npm port) to the host port (5080)

Then configure npm to use your shine new local npm registry with the following command:

$ npm set registry

Use the following command to switch back to the old default registry:

$ npm set registry

For a full list of docker commands and npm configuration and options please see:


Apache 2.0

Docker Pull Command