Load docker image to another machine

Step by step:
# run images to container w/ a spefic port
docker run -it -p 8080:8080 [imageid] /bin/bash

# start container
docker run [containerid]

# masuk ke container yg sedang aktif
docker exec -it [containerid] /bin/bash

# commit perubahan di container ke image baru/existing
# sample: docker commit -m "What you did to the image" -a "Author Name" container_id repository/new_image_name
# ref: https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-18-04

docker commit -m "comment here..." -a "Author Name" [containerid] reponame/imagename

# failed load docker image
# https://www.gitmemory.com/issue/gongbell/ContractFuzzer/5/487270815

# create image from container
docker save -o [nama-image-baru] imagerepositoryname

# load image to another machine
docker load --input pathimagebaru



IDCloudHost | SSD Cloud Hosting Indonesia