Dockerfilesare used to build Docker imagesdocker-compose.yamlfiles are used to manage services composed of multiple containers- Using
docker-composewe can create a docker image without a base image while we can’t do that using aDockerfile
Dockerfiles are used to build Docker imagesdocker-compose.yaml files are used to manage services composed of multiple containersdocker-compose we can create a docker image without a base image while we can’t do that using a Dockerfile