Skip to content
This repository has been archived by the owner on Dec 31, 2019. It is now read-only.

Speed up deployment by mounting files at run instead of copying them at build #1

Closed
isartcanyameres opened this issue Jul 21, 2016 · 3 comments

Comments

@isartcanyameres
Copy link

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).

@isartcanyameres isartcanyameres changed the title Speed up deployment by mounting files at run instead of copying them Speed up deployment by mounting files at run instead of copying them at build Jul 21, 2016
@isartcanyameres
Copy link
Author

Wrong repo :/

@Josyab
Copy link

Josyab commented Jul 21, 2016

What does "significantly" mean? :)

is there a re measurable value we can obtain?

2016-07-21 12:03 GMT+02:00 isartcanyameres [email protected]:

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).


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#1,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEZdLzNCsx_Lv3qtEIPsjmwEzop--Gawks5qX0PngaJpZM4JRowS
.


José Ignacio Aznar
Internet Architectures and Services Area (IAS)
i2CAT Foundation, Barcelona, Spain
http://www.i2cat.net/en http://dana.i2cat.net/
+34935532546

http://www.i2cat.net/en

The information contained in this electronic mail message is confidential.
It is intended solely for the use of the individual or entity to whom it is
addressed and others authorised to receive it. If the reader of this
message is not the intended recipient, you are hereby notified that any
use, copying, dissemination or disclosure of this information is strictly
prohibited. If you receive this e-mail message in error please notify me

immediately at the address box [email protected]

@bryan-brancotte
Copy link
Collaborator

the issue is now there
dana-i2cat/cnsmo-net-services#10

@cyclone-project cyclone-project locked and limited conversation to collaborators Jul 21, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants