Skip to content

Playit Port Forwarded

Choose a tag to compare

@imvickykumar999 imvickykumar999 released this 13 Jun 10:59

image

You can download your Docker image as a file (usually a .tar archive). This is useful for:

  • Offline transfers
  • Archiving
  • Sharing without pushing to a registry

🐳 How to Save a Docker Image to a File

To save your docker-django-deploy image:

docker save -o docker-django-deploy.tar ghcr.io/imvickykumar999/docker-django-deploy:latest

This will create a file named docker-django-deploy.tar in your current directory.


🔄 How to Load That Image Elsewhere

To import it on another machine:

docker load -i docker-django-deploy.tar

Then run it like any other image:

docker run -p 8000:8000 docker-django-deploy

📁 Optional: Compress the Image

You can compress it to make it smaller for sharing:

docker save ghcr.io/imvickykumar999/docker-django-deploy:latest | gzip > docker-django-deploy.tar.gz