Open chris-crone opened 4 years ago
So does this mean if I have two web apps on port 80 in a compose file, it won't work with docker compose up
?
First bit of feedback on this repo, thanks @BretFisher :)
Yes, unfortunately with ACI we can't have two services that use the same port in the Compose stack. This is a combination of two issues:
ACI does not support port mapping so commands like
docker run -d -p 8080:80 nginx
will fail. You will need to make sure that yourdocker run
commands specify the same container and host ports. e.g.:docker run -d -p 80:80 nginx
.The same applies for services defined in a Compose file.