All Go Rust Python PHP JavaScript
Chrome Dev Summit to secure your spot in workshops, office hours and learning lounges!

How to use the Docker-compose up command line

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 -...

How to use the Docker-compose exec command line

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. ...

How to use the Docker-compose build command line

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...

How to use the Docker-compose command line

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...