“Docker Save” Kod odpowiedzi

Docker Save

docker save -o fedora-all.tar fedora
Ill Impala

Zatrzymaj kontener do obrazu

sudo docker commit [CONTAINER_ID] [new_image_name]
Grotesque Gentoo

Załaduj i zapisz dokera

You will need to save the Docker image as a tar file:

docker save -o <path for generated tar file> <image name>
T
hen copy your image to a new system with regular file transfer tools such as cp, scp or rsync(preferred for big files). After that you will have to load the image into Docker:

docker load -i <path to image tar file>
Devops Captain

Odpowiedzi podobne do “Docker Save”

Pytania podobne do “Docker Save”

Więcej pokrewnych odpowiedzi na “Docker Save” w Shell/Bash

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu