Closed nebula8830 closed 4 years ago
I got the DNS issues resolved by opening the required ports in firewalld. But now I am having issues with lancache container constantly restarting with this error nginx: [emerg] mkdir() "/data/cache/cache" failed (13:Permission denied)
I even did sudo chmod -r 777 /cache/
and still get the error and restarting repeatedly.
Adding --privileged
to the lancache container creation command made it work fine. I assume adding that to all would also fix the port binding issues. Without changing the net.ipv4.ip_unprivileged_port_start
.
So to anyone trying to run in podman and/or a OS other than ubuntu, some tips.
--restart until-stopped
to --restart=always
--privileged
to be able to bind ports and fix permission issue
Describe the issue you are having
Everything seems to be working fine based on logs, but DNS doesn't resolve anything.
How are you running the container(s)?
Running podman in Fedora 31 Server virtualised on another Fedora Server 31. Had to run this at first so containers could bind the ports. "sudo sysctl net.ipv4.ip_unprivileged_port_start=1"
DNS Configuration
Output of container(s)