Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 726 Bytes

how_to_save_and_load_docker_image.md

File metadata and controls

26 lines (18 loc) · 726 Bytes

How to Save and Load Apollo Docker Images

Considering that Apollo Docker images are usually serveral Gigabytes in size, you can pull them over WIFI or other stable Internet connections, and then copy the relavant images to vehicle.

Save Docker Images

After you have pulled the relavant Docker image, you can save it as a tarball by running the following command:

# docker save -o <path/to/saved/image/tar> <repo:tag>
docker save -o apollo_dev.tar apolloauto/apollo:dev-x86_64-18.04-20200823_0534

Load the Docker Image

With the taballs copied to vehicle, you can reload the relavant Apollo Docker image by running:

# docker load -i <path/to/docker/tarball>
docker load -i apollo_dev.tar