$ ANYCONNECT_SERVER=HOST ANYCONNECT_USER=USER ANYCONNECT_PASSWORD=PWD docker-compose up \
--abort-on-container-exit
- ANYCONNECT_SERVER = HOST
- ANYCONNECT_USER = USERNAME
- ANYCONNECT_PASSWORD = PASS
- DNS_SUFFIX = LOCAL_DNS_TLD (optional)
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