Giter VIP home page Giter VIP logo

docker-openconnect-client's Introduction

Docker OpenConnect Client

Build

Source code available in this repository.

docker build -t smarteist/openconnect-client ./

Run

docker run -dit --name occlient --privileged \
    -e RETRY_TIMEOUT=30 \
    -e SERVER="oc.mydomain.com" \
    -e USERNAME="username" \
    -e PASSWORD="mypassword" \
    -e OC_OPTIONS="--servercert=pin-sha256:26657320797d4f5b385d43274a246178263f3b686b645e37=" \
    smarteist/openconnect-client

Configurations

Config files available in /etc/occlient/server.conf you can modify it to get logs or change other options.

Logging

To use save connection logs into the log file uncomment the CONNECTION_LOGS in config file /etc/occlient/server.conf:

#CONNECTION_LOGS=/dev/null
CONNECTION_LOGS=/oclogs.log

Restart the container, and then you can see connection logs like so:

docker exec -it occlient tail -f /oclogs.log

Usage Example

To use oc client as network of other container, set net option of that container when you run it.

docker run <...> --net container:occlient <...> someimage

docker-openconnect-client's People

Contributors

smarteist avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.