Create and start containers.Builds, (re)creates, starts, and attaches to containers for a service.
If you want to force Compose to stop and recreate all containers, use the --force-recreate flag.
Recreate containers
docker-compose up -...
Execute a command in a running container.With this subcommand you can run arbitrary commands in your services. Commands are by default allocating a TTY, so you can use a command such as docker-compose exec web sh to get an interactive prompt.
...
Build or rebuild services.If you change a service’s Dockerfile or the contents of its build directory, run docker-compose build to rebuild it.
Docker-Compose build will read your docker-compose.yml or docker-compose.yaml.
This step enables you to a...
This page provides the usage information for the docker-compose Command.The following show the Docker-Compose version information:
Version information
docker-compose version
docker-compose -v
docker-compose --version
docker...