Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 507 Bytes

docker-image-load-save.md

File metadata and controls

26 lines (18 loc) · 507 Bytes

Docker image load & save

Posted on 01 Feb, 2024

Short guide on how to export and import docker images across different machines.

  1. Build for different platforms

    docker build -t ugit-optimized-linux --platform linux/amd64 .
    
  2. Save the image

    docker save <image:tag> > test.tar
    
  3. Tranfer the image to another machine.

  4. Load the image

    docker load < test.tar
    

References