You are not logged in.
I had an issue with docker for which I found at that the very same works on docker-desktop on Windows 10 but not on my Arch Linux. Originally I posted the issue as a stackoverflow question before I realized that it could be specific to arch.
To summarize the issue, I am using this simple docker-compose.yml:
services:
nginx-proxy:
image: nginxproxy/nginx-proxy
ports:
- 80:80
- 443:443
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
depends_on:
- hello-world
hello-world:
image: nginx
ports:
- 9001:80
environment:
VIRTUAL_HOST: hello.world
volumes:
- ./web:/usr/share/nginx/htmlI have a hello-world like html file index.hml in the web folder. When running the containers with
docker-compose up -dI would expect that
curl -H "Host: hello.world" localhost:80would return the given index.html file. But it does not on Arch Linux while it works as expected with docker-desktop on a Windows 10.
I have the same issue on my desktop PC as well as on a freshly setup Raspberry Pi 4 running AArch64 ARM kernel with basically only docker, docker-compose and git installed additionally. What could be going wrong? How can I investigate any further?
Offline
I think the problem is what is discussed here: https://github.com/nginx-proxy/nginx-proxy/issues/1548
Offline