So I have 3 ports that should be exposed to the machine\'s interface. Is it possible to do this with a Docker container?
if you use docker-compose.ymlfile:
docker-compose.yml
services: varnish: ports: - 80 - 6081
You can also specify the host/network port as HOST/NETWORK_PORT:CONTAINER_PORT
HOST/NETWORK_PORT:CONTAINER_PORT
varnish: ports: - 81:80 - 6081:6081