Corvina VPN feature can be used also in a docker environment with an agent.
These are the steps to use the docker agent for VPN:
docker run --rm --name encloud -p 4804:4804 --network host --cap-add=NET_ADMIN --device /dev/net/tun europe-west1-docker.pkg.dev/corvina-exorint/corvina-public/corvina_vpn_agent:latest
curl http://localhost:4804/api/v1/auth -d "type=activation-code" -d "pass=$ACTIVATION_KEY" -d "id=sb" -d "url=https://pairing.corvina.io/api/v1/"
curl http://localhost:4804/api/v1/cloud -d "action=start"
curl http://localhost:4804/api/v1/cloud -d "action=stop"
the “ACTIVATION_KEY” has to be a valid activation key provided by Corvina, such as the one used in Exor’s Devices.