richfitz / stevedore

:cloud::rowboat::whale::cloud: Docker client for R
https://richfitz.github.io/stevedore
Other
134 stars 10 forks source link

Add support for docker cp #40

Closed nuest closed 6 years ago

nuest commented 6 years ago

To extract single files from a container, add support for the docker cp (copy) instruction.

@richfitz Can you outline the required steps for this? The readme just say this is "major work", but still I hope this issue helps by collecting some :+1:s :-)

[fyi: just switched from harbor to stevedore to leverage DinD, so running R within a container and start other containers - works like a charm]

richfitz commented 6 years ago

This is done on a branch! Can you try the code here please: https://github.com/richfitz/stevedore/tree/i37_cp

richfitz commented 6 years ago

See here https://github.com/richfitz/stevedore/compare/i37_cp#diff-6a75c27f5b4d87034453fcfc7333e046R1161 in the tests for examples for now - I need to propagate this to the vignette

The python client doesn't support this and I can now see why!

nuest commented 6 years ago

Will try to squeeze some testing in... anyways, this is a duplicate of #37