Skip to content

tuapuikia/openconnect-sso-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to build an openconnect-sso image

docker buildx build -t myopenconnect:sso --push -f Dockerfile-sso .

How to run it from the container.

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]

Using prebuild docker image

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]"

About

Docker image for openconnect-sso support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published