Question: what is the difference between docker compose and docker build?
Answer: docker-compose build will build the services in the docker-compose. yml file. docker build will build the image defined by Dockerfile. Basically, docker-compose is a better way to use docker than just a docker command.