In this recipe, you will learn how to run our Akka application inside a docker container. This is done assuming that most of you are familiar with docker and have a working installation of docker on your Linux machine. Docker is an application container engine. The focus of this recipe is to run the application inside docker.
Note
For more information on how to install docker, visit https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-16-04.
In the previous recipe, you learned how to package the Akka application into an assembly jar. It is recommended that you go through that recipe, Packaging and deploying the Akka standalone application. We will use this assembly jar while building a docker image.