3 Transferring Images

⚠️ These commands need to be executed on your local office computer / laptop!


The following command can be used to transfer docker / container images to the target host:
⚠️ Replace the capitalized user and host names and the DOCKER_IMAGE_TAG with the actual values!

export DOCKER_IMAGE_TAG="v1.0-beta1-159-gabc123d_1970-02-16T12-02-56UTC"
export BUILD_USER="builder"
export BUILD_HOST="builder.example.net"
export RUN_USER="reseed"
export DOCKER_HOST="reseed.example.net"

ssh "${BUILD_USER}@${BUILD_HOST}" "docker image save reseed-app:${DOCKER_IMAGE_TAG} reseed-web:${DOCKER_IMAGE_TAG} reseed-workers:${DOCKER_IMAGE_TAG}" | \
	dd status=progress bs=1M | \
	ssh "${RUN_USER}@${DOCKER_HOST}" "docker load"