Push Docker Image to Server[Docker Server Tunel] With out using DockerHub or Any Docker Registry

Prerequisites to Proceed Further

  1. Must have Docker Implemented Project
  2. Basic in Linux Commands
  3. Basic in Docker commands
  4. Remote server with ssh access using username and password

Build Docker image in Local Machine

docker build -t akshaykrisondevops/node-ec2 .
docker image build command
docker image building
docker images
docker images show

Docker Push to Remote Server From Local Machine

docker save akshaykrisondevops/node-ec2:latest | ssh -C root@<your_server_ip> docker load
  • docker save will produce a tar archive of one of your docker images (including its layers)
  • -C is for ssh to compress the data stream
  • docker load creates a docker image from a tar archive
docker push to remote from local
docker images

--

--

--

DevOps Engineer / Solution Architect- Calicut

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

The Software Engineering Generalist

What Triathlon Taught Me About Software Development

How to make the most of your internal contributors feedback

PatternFly Elements theming hooks: CSS “Broadcast” Variables

21 days of Code with Code Warriors — Day 13

Data monitoring system based on Euclidean distance

NodeJS vs Python: Choosing the Best Technology to Develop Back-End of Your Web App

How to improve your non-functional requirements

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
Akshay Krison

Akshay Krison

DevOps Engineer / Solution Architect- Calicut

More from Medium

Run Jenkins using Docker Desktop (linux containers)

Build a Docker Jenkins Pipeline to Implement CI/CD Workflow

Build your first CI/CD pipeline using Docker, Github Actions, and Webhooks while creating your own…

Setup Docker Container as Test environment in Local Development using shell script