publish commonly used base image to docker hub

my dev_image is at https://hub.docker.com/repository/docker/lwang010/dev_env

It is much easier than you thought. Just

  • have an account at docker hub

  • build a base image using Dockerfile

  • push the image to the docker hub

You could also link your GitHub repo to the hub link to update the base image and rebuild faster.

If it is a private repo, you can use https://medium.com/packagr/installing-private-python-packages-in-a-docker-images-fb1872409ed0

Last updated