在docker群环境中,我需要通过traefik运行一个openvpn容器,以与其他应用程序共享端口443。我遵循了以下指南:OpenVPN Server behind Traefik,但是当我启动该服务时,该容器未运行。 “ docker services ls ”的输出为:
ID NAME MODE REPLICAS IMAGE PORTS
1bfu3esv197x entrypoint_openvpn replicated 0/1 kylemanna/openvpn:latest
nb8opyjuvucv entrypoint_traefik replicated 1/1 traefik:v2.1 *:80->80/tcp, *:443->443/tcp
带有“ docker服务日志”的服务日志为:
entrypoint_openvpn.1.irxk9t0jnt4a@ubuntu-s-1vcpu-1gb-nyc3-01 | getsockopt failed strangely: Operation not permitted
entrypoint_openvpn.1.irxk9t0jnt4a@ubuntu-s-1vcpu-1gb-nyc3-01 | getsockopt failed strangely: Operation not permitted
entrypoint_openvpn.1.0s88asydse5n@ubuntu-s-1vcpu-1gb-nyc3-01 | getsockopt failed strangely: Operation not permitted
entrypoint_openvpn.1.0s88asydse5n@ubuntu-s-1vcpu-1gb-nyc3-01 | getsockopt failed strangely: Operation not permitted