The process to dockerize igweb first involves creating a Dockerfile, a file that specifies instructions on how to create a Docker image. The Docker image will then be used to create a Docker container.
After having created the Dockerfile, we will be using the docker-compose tool to define and run multiple containers needed to power the IGWEB website.
Deploying igweb as a multi-container Docker application is a three-step process:
- Create a Dockerfile from which an IGWEB docker image can be created
- Define the services that make up IGWEB in a docker-compose.yml file
- Run docker-compose up to start up the multi-container application