Now, run docker-compose up -d
from your project directory.
bash docker-compose.bash up -d
This runs docker-compose
up in detached mode, pulls the needed Docker images, and starts the nginx and php-fmp containers, as shown in the example below.
The command docker-compose down
removes the containers and default network, but preserves your configuration files.
The command docker-compose down --volumes
removes the containers, default network, and volumes.