The application can be packaged as a docker image. Refer to the Docker container documentation (https://www.docker.com/resources/what-container/) for its capabilities. This tutorial focuses on packaging the Docker image on the target. Containerizing an application (creating a docker image for the application) consists of the following top level steps:
- Create/fetch and test the application
- Create the dockerfile
- Build the docker image using the dockerfile
- Push the docker image to the
dockerhub
or an equivalent registry
Figure 1. Creating a Docker File