Report this

What is the reason for this report?

How to share the application with docker image tar file

Posted on October 22, 2021

I have web application build with docker container nginx, mysql and php and its running properly. I just want to know how to share my working web application without using docker hub? I already tried to export my docker container into image, and load it to another device.

what is the next step? I tried run nginx container but nothing happens.

I want to make portable web application using docker container without using docker hub or any docker repositories, so it can run to another device.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

If you’ve already transferred the image to the new host, you need to load it into the Docker engine with:

sudo docker load -i your_image.tar

For more information check out this step by step answer here:

https://www.digitalocean.com/community/questions/how-to-copy-a-docker-image-from-one-server-to-another-without-pushing-it-to-a-repository-first

Or take a look at this video here:

Hope that this helps. Best, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.