Build image
shell
docker build -t your_image_name .Start image
shell
docker create --name temp_container my_docker_imageStart image and remove at the end
shell
docker create --rm --name temp_container my_docker_imageCopy from/to the container
shell
docker cp temp_container:/path/to/directory/in/container /path/to/destination/on/hostassign another tag to the image
shell
TBDPush image
shell
docker push <registry_name>/<image_name>:<image_tag>