You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of copying files at the build, you can mount it at the run with -v option. (-v /home/CNSMO/ENVS/VPNClient-slave.1/client.conf:/etc/openvpn/client.conf:ro)
Multiple files can be mounted.
If files are mounted, you could publish the container on a public repo and get it instead of compiling it.
Doing this can speed up the deployment significantly (compiling the docker can be very slow).
To check the time saved use command : time docker build --no-cache -t client-vpn .
Instead of copying files at the build, you can mount it at the run with
-v
option. (-v /home/CNSMO/ENVS/VPNClient-slave.1/client.conf:/etc/openvpn/client.conf:ro
)Multiple files can be mounted.
If files are mounted, you could publish the container on a public repo and get it instead of compiling it.
Doing this can speed up the deployment significantly (compiling the docker can be very slow).
To check the time saved use command :
time docker build --no-cache -t client-vpn .
An example of use can be found here:
https://github.com/cyclone-project/federated-filtering-proxy-with-docker/blob/master/startFilteringProxy.sh#L54
The text was updated successfully, but these errors were encountered: