How to upload and download docker images using nexus registry/repository?

Step 1- Setup your Nexus server and required authentication

Step 2- Create docker repo at Nexus

Step 3- Install Docker & Configure with non httpds

Step 4- Create a Dockerfile for an Image

$ more dockerfile
FROM ubuntu
MAINTAINER Rajesh kumar
RUN touch /opt/devopsschool.txt

Step 5- Create a docker image

$ docker build -t devopsschool .
$ docker images

Step 6- Docker login

$ docker login

Step 7- Match a Image name with repository by following pattern

$ docker tag devopsschool

Step 8- Docker push

$ docker push

Step 9- Docker pull

$ docker pull
Rajesh Kumar