Better Programming

Advice for programmers.

Follow publication

Member-only story

Having a Docker Container As Your Private NPM Registry — The Easy Way

Sibeesh Venu
Better Programming
Published in
8 min readNov 10, 2018
Azure Docker Container Instance

Introduction

At some point in our lives, we need almost everything in a private scope, and that includes your NPM packages. You may have created a private NPM package for your company or yourself and wanted to host it somewhere. You might have seen options like a paid version of npm, but in this piece, we are going to change our Docker container instance to a private NPM registry, and once it is ready, you can host your private npm packages on that registry. Let’s jump into it.

Background

As I mentioned before, I am going to create a container instance and change it to a private NPM registry. I will be using Microsoft Azure.

Setting up a Docker Private NPM Registry

To create the Azure Container Registry, you should have a valid Azure subscription. If you don’t have one, please get one; it will help you follow this piece. Once you get an Azure subscription, you are ready to start.

Creating an Azure Container Registry

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Sibeesh Venu
Sibeesh Venu

Written by Sibeesh Venu

An engineer by profession and writer by passion. Author at Sibeesh Passion, Microsoft MVP (2016–2022). Software Engineer @ Microsoft

Write a response