The process of accessing the INTERNAL server through a public server or local system is known as SSH TUNNELLING: REMOTE FORWARDING

These are some configurations that need to be changed on both the server and client-side.

On Server Side ( Internal VM ):

Change these variables in this file …

In this blog, we will learn about how to setup a docker private registry and setup authentication as well through docker.

Run this Dockerfile to create your registry image and run it.

FROM registry:2
RUN mkdir -m 777 data auth
ENV REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY=/data
ENV REGISTRY_AUTH htpasswd
ENV REGISTRY_AUTH_HTPASSWD_REALM Registry
ENV REGISTRY_AUTH_HTPASSWD_PATH /auth/registry.password
RUN apk update && apk add apache2-utils
RUN cd auth && htpasswd -b -B -c registry.password admin admin
RUN htpasswd -b registry.password dev dev@dev
EXPOSE 5000

Command to build & run the registry image:

docker build -t local_registry .
docker run -p 5000:5000 -d -v /data:/data local_registry

Api’s to query the Docker images stored in the registry.

List all repositories (effectively images):

curl -X GET -u admin:admin https://myregistry:5000/v2/_catalog
> {"repositories":["redis","ubuntu"]}

List all tags for a repository:

curl -X GET admin:admin https://myregistry:5000/v2/ubuntu/tags/list
> {"name":"ubuntu","tags":["14.04"]}

Expand the volume within the OS using diskpart utility

When you have expanded the disk for the VM, you need to go into the OS and expand the volume to encompass the new space. There are several methods for expanding a partition. This section covers connecting the VM using an RDP connection to expand the partition using DiskPart.

  1. Open an RDP connection to your VM.
  2. Open a command prompt and type diskpart.
  3. At the DISKPART prompt, type list volume. Make note of the volume you want to extend.
  4. At the DISKPART prompt, type select volume <volumenumber>. This selects the volume volumenumber that you want to extend into contiguous, empty space on the same disk. Ex: select volume 1
  5. At the DISKPART prompt, type extend [size=<size>]. This extends the selected volume by size in megabytes (MB).Ex: extend size=125000

What is Linux?

Linux is an open source and most used operating system created in 1991 by Linus Torvalds. It is widely used in the software industry for developing and maintaining highly robust application. It offers security, privacy, task automation, system updates and it is developer friendly in nature. …

This post will describe an easy way to manage your Azure storage data through a simple tool that is available in Linux, MAC os, and Windows.

You can download the one according to your operating system through this URL.

After successful download, click to install

For Windows,

Accept the terms…

Most people often find it difficult to set up docker and configure it when running behind any proxy server, if you’re trying to run Docker without having direct access to the web you have to configure the docker daemon to use a proxy server. …

Dheeraj kumar

A DevOps who is passionate about Autom@tion.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store