Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 543 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 543 Bytes

How to use

Commandline:

$ ANYCONNECT_SERVER=HOST ANYCONNECT_USER=USER ANYCONNECT_PASSWORD=PWD docker-compose up \
--abort-on-container-exit

Environment vars

  • ANYCONNECT_SERVER = HOST
  • ANYCONNECT_USER = USERNAME
  • ANYCONNECT_PASSWORD = PASS
  • DNS_SUFFIX = LOCAL_DNS_TLD (optional)

Rebuild & usage

Set environment variables or launch with command line above:

$ docker-compose up --force-recreate 
$ docker-compose down --rmi all

Get shell to container

$ docker exec -it vpn /bin/bash