Tools, FAQ, Tutorials:
Export and Import Docker Image Files
How to Export and Import Docker Image Files?
✍: FYIcenter.com
If you want to move a docker image from another system to run, you can follow this tutorial.
1. Export the Docker image a file on the old system.
fyicenter# docker images REPOSITORY TAG IMAGE ID CREATED SIZE fyi/cuda 1 1a4cb45485ee 10 minutes ago 3.91GB nvidia/cuda 11.0-base 2ec708416bb8 12 months ago 122MB fyicenter# docker image save fyi/cuda:1 > fyi_cuda_1.tar fyicenter# ls -l *.tar -rwxrwxr-x. 1 3938845696 fyi_cuda_1.tar
2. Import the Docker image file on the new system.
fyicenter# docker image import my_cuda_1.tar my/cuda:2 sha256:... fyicenter# docker image ls REPOSITORY TAG IMAGE ID CREATED SIZE fyi/cuda 2 576a3659a351 19 minutes ago 3.94GB
⇒ Managing Data Storage in Docker
⇐ Commit New Image with Updated Docker
2023-02-19, 639🔥, 0💬
Popular Posts:
How to create Hello-3.1.epub with WinRAR? I have all required files to create Hello-3.1.epub. To cre...
Where to find tutorials on EPUB file format? I want to know how to create EPUB books. Here is a larg...
How to use the "set-backend-service" Policy Statement for an Azure API service operation? The "set-b...
How To Create an Array with a Sequence of Integers or Characters in PHP? The quickest way to create ...
How to build a PHP script to dump Azure AD 2.0 Authentication Response? If you are use the Azure-AD-...