Kerio VPN Client docker container
This image connects to Kerio VPN Server and mounts Samba shares.
You can use flag --net=host
Use flag --net=container:kerio-container
for the containers where you want to use the connection.
This will mount all points to ${PWD}/mountpoint. It is important to use the propagation flag shared.
sudo docker run -it -v ${PWD}/mountpoint:/mnt:shared -d kerio-vpn-client start server.domain.com username password domain.com mount.domain.com
Mountpoint is used as samba server. All the available shares will be mounted.
They will be located at /mnt/(server)/(share)
.
Note: You can't mount just some shares from the server yet.
sudo docker run -it -v ${PWD}/mountpoint:/mnt:shared -d kerio-vpn-client start <server> <username> <password> <domain> <mountpoint-1> [mountpoint-2] [mountpoint-x..]
You can't use named volumes. Named volumes don't have option for propagation.