This issue reminds me this one: Cannot run passbolt from docker
User wasn’t able to run the nginx inside docker because of lack of ipv6 support.
A quick way to validate if ipv6 is enabled (this command should returns 0):
sudo sysctl -a | grep disable_ipv6
And with this other command, it should returns some inet6
:
$ ip a | grep inet
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
inet 10.0.2.15/24 brd 10.0.2.255 scope global dynamic eth0
inet6 fe80::a00:27ff:fe41:ef8f/64 scope link
inet 10.55.27.13/24 brd 10.55.27.255 scope global eth1
inet6 fe80::a00:27ff:fee8:3947/64 scope link
inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0