docker buildx build -t myopenconnect:sso --push -f Dockerfile-sso .
SAML authentication require X GUI support
xhost +local:docker
docker run --pull always --rm -ti --network host --privileged -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v /etc/resolv.conf:/etc/resolv.conf:rw myopenconnect:sso -s myvpn.domain.com -u [email protected]
docker run --pull always --rm -ti --network host --privileged -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v /etc/resolv.conf:/etc/resolv.conf:rw -v "$(echo $HOME)"/.local/share/openconnect-sso:/home/ubuntu/.local/share/openconnect-sso tuapuikia/openconnect:sso "-s myvpn.domain.com -u [email protected]"