“Simpan Docker” Kode Jawaban

Simpan Docker

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

melakukan wadah ke gambar

sudo docker commit [CONTAINER_ID] [new_image_name]
Grotesque Gentoo

Load Docker dan Simpan

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

Jawaban yang mirip dengan “Simpan Docker”

Pertanyaan yang mirip dengan “Simpan Docker”

Lebih banyak jawaban terkait untuk “Simpan Docker” di Shell/Bash

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya