Skip to content

chmodshubham/image-2-tar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

image 2 tar

Docker Image to .tar file Conversion

Procedure

  • List docker images to identify the image you want to convert into a tar file. Use the following command to list your images:
docker images
  • Once you have identified the image, you can proceed to save it as a tar file. Use the following command, replacing image_name with the actual name or ID of your image:
docker save -o image_name.tar image_name
  • Docker will save the image as a tar file in the current directory. You can verify this by listing the files using the ls command.

  • For example

image

About

Docker Image to tar file Conversion

Topics

Resources

Stars

Watchers

Forks