In this chapter, you learned that you can keep your data out of your service containers using data volumes. Data volumes can be any one of directories, files from the host's filesystem, or data volume containers.
We explored how we can pass parameters to containers and how to read them from inside ENTRYPOINT
. Parameters are a great way to configure containers, making it easier to create more generalized Docker images.
We created a data volume container and published it to the Docker Registry Hub, preparing us for the next chapter, where we will connect our three containers to create one loosely coupled unit.