Step 1- Setup your Nexus server and required authentication
Step 2- Create docker repo at Nexus

Step 3- Install Docker & Configure with non httpds
- Docker Install and Config – https://devopsschool.com/tutorial/docker/install-config/
- Setup Docker service to use insecure(http) registry instead of http – https://www.devopsschool.com/blog/setup-docker-service-to-use-insecurehttp-registry-instead-of-https/
Step 4- Create a Dockerfile for an Image
$ more dockerfile
FROM ubuntu
MAINTAINER Rajesh kumar rajesh@devopsschool.com
RUN touch /opt/devopsschool.txt
Step 5- Create a docker image
$ docker build -t devopsschool .
$ docker images
Step 6- Docker login
$ docker login http://15.206.81.210:9001/repository/docker-hosted/Code language: JavaScript (javascript)

Step 7- Match a Image name with repository by following pattern
$ docker tag devopsschool 15.206.81.210:9001/docker-hosted/devopsschool
Step 8- Docker push
$ docker push 15.206.81.210:9001/docker-hosted/devopsschool
Step 9- Docker pull
$ docker pull 15.206.81.210:9001/docker-hosted/devopsschool
Docker Tutorials Fundamental To Advanced-2021 Crash Course:- https://bit.ly/3hOIbTB
I’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms.
I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.
Find Trusted Cardiac Hospitals
Compare heart hospitals by city and services — all in one place.
Explore Hospitals