“Docker Save” Respostas de código

Docker Save

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

Compromete o contêiner para a imagem

sudo docker commit [CONTAINER_ID] [new_image_name]
Grotesque Gentoo

Carga do Docker e salvar

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

Respostas semelhantes a “Docker Save”

Perguntas semelhantes a “Docker Save”

Mais respostas relacionadas para “Docker Save” em Shell/Bash

Procure respostas de código populares por idioma

Procurar outros idiomas de código