11. Building and Publishing Image#
We utilize the make tool to efficiently build, run, tag and publish the container images. You can simply run the command ‘make’ within the directory containing the Makefile to get a list of these commands.
build - builds the custom container image
push - append timestamp to current image and push to private registry mentioned in private_registry:private_user files under base.
publish - tag current image as ope_book_registry/ope_book_user/ope_book files under base directory along with a timestamp and push it like below.
pull - pull the most recent public image
pull-priv - pulls the most recent private image
root - executes the private image as root user like below.
user - executes the private image as the default user
run - starts published version with jupyter lab interface
run-priv - starts private version with jupyter lab interface