Docker Compose is a tool that allows you to deploy an application composed by multiple containers. For example, imagine that you want to deploy Joomla. It requires two containers, the web application (which it also runs the web server apache) and the database. Deploying using the docker CLI First, let's deploy Joomla using the Docker command line interface. Run the database container. We do it first because the database is a dependency of the application.