I assume that you have a GitHub and Docker Hub accounts. Also I assume that you have your application repository in GitHub and don’t have the image in Docker Hub yet. Now we will see how to automatically build docker image in our Docker Hub account after pushing code changes to our GitHub repository. Our GitHub repository name is called inanzzz/hello_php  and we don’t have the image in Docker Hub account yet. For more information read Configure automated builds on Docker Hub  page.

#docker #github #docker hub #git

Linking GitHub and Docker Hub to automatically build images on GitHub push events
1.35 GEEK