DockerCommand
Build Compose Services
Type this command
docker compose buildBuilds the images your compose file asks for.
The Docker command to build compose services is docker compose build.
docker compose builddocker compose buildBuilds the images your compose file asks for.
Run docker compose build.
Run docker compose build.
Type it in the terminal or command-line interface used by Docker.
Yes. The command text is the same on both platforms when the tool is installed.