Developer
lhernandez@nearsoft.com
In your images you will define the schema to run your containers, if you have OOP background, a reference could be that an image would be a class and a container would be the instance of the class.
Container 1
Container 3
Container 2
Image
Define your configs.
EXPOSE <port> [<port>/<protocol>...]
The ADD instruction copies new files, directories or remote file URLs from <src> and adds them to the filesystem of the image at the path <dest>
Allows you to configure a container that will run as an executable.
VOLUME ["/data"]
The WORKDIR instruction sets the working directory for any RUN, CMD, ENTRYPOINT, COPY and ADD instructions that follow it in the Dockerfile
WORKDIR /path/to/workdir