shlink-web-client version
4.6.2
How do you use shlink-web-client
Docker image
Current behavior
I try to start a container shlinkio/shlink-web-client v4.6.2 which has an IPv6.
The script 10-listen-on-ipv6-by-default.sh is supposed to modify the Nginx listen directive but I receive this error:
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: info: can not modify /etc/nginx/conf.d/default.conf (read-only file system?)
I haven't analyzed it in depth, but I have a feeling it's related to file /etc/nginx/conf.d/default.conf permissions:
$ ls -al /etc/nginx/conf.d/default.conf
-rw-r--r-- 1 root root 1446 Dec 12 07:38 /etc/nginx/conf.d/default.conf
As the container is running as nginx:
$ id
uid=101(nginx) gid=101(nginx) groups=101(nginx)
Expected behavior
The script /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh is supposed to work (= to be able to modify the Nginx default.conf configuration file).
Minimum steps to reproduce
Start a container on a virtual machine which has an IPv6