Update: This is an older post. There are now better ways to containerize your java applications such as Jib and BuildPack. In this post we will be creating a docker container that will run the sample application from the spring boot getting started guide.