Docker image: Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found

As soon as you’ve setup the certificate in nginx, I see no sense enabling it in the asp.net core container as your docker network is going to be visible to public via nginx. To disable Kestrel Https listening just remove 443 port from the following code: – ASPNETCORE_URLS=https://+:443;http://+:80 Replace it with: – ASPNETCORE_URLS=http://+:80 With .NET … Read more

How to expose port ranges (like “3000-4000:3000-4000”) in docker-compose.yml file

There is possibly mistake in the syntax you are using. The ports are defined in the next line and after leaving some space. It should work and as specified in the reference. See example below: ports: – “3000” – “3000-3005” – “8000:8000” – “9090-9091:8080-8081” – “49100:22” – “127.0.0.1:8001:8001” – “127.0.0.1:5000-5010:5000-5010” – “6060:6060/udp”

docker-compose: difference run, exec and what happens to the layers

First lets clarify the basic terms here. Citing from the official docs: An image is a read-only template with instructions for creating a Docker container. Basically an image is just a filesystem archive containing the files and directory structure and some additional metadata (like ENV or CMD) for a container. So you may also think … Read more