envy icon indicating copy to clipboard operation
envy copied to clipboard

docker volumes inside envy

Open jgallen23 opened this issue 9 years ago • 5 comments

I'm trying to run a container with a docker volume from inside of an envy instance, but the folders always end up empty. Is this because of the docker inside docker? Is there any way around it?

jgallen23 avatar Jul 07 '15 04:07 jgallen23

Yes it's probably going to be solved like boot2docker where the docker instance has a mount of part of your local file system. So likely envy dockers will have access to anything under your home and root home..

On Monday, July 6, 2015, Greg Allen [email protected] wrote:

I'm trying to run a container with a docker volume from inside of an envy instance, but the folders always end up empty. Is this because of the docker inside docker? Is there any way around it?

— Reply to this email directly or view it on GitHub https://github.com/progrium/envy/issues/38.

Jeff Lindsay http://progrium.com

progrium avatar Jul 07 '15 14:07 progrium

Is there any way around this right now? Which container needs to mount the root filesystem? The envy session or the dind?

jgallen23 avatar Aug 13 '15 16:08 jgallen23

First we need to decide what part of the session container should be shared with dind to mount with your containers. /work maybe?

progrium avatar Aug 13 '15 17:08 progrium

I've been using /workspace on my fork

fgrehm avatar Aug 13 '15 18:08 fgrehm

No preference on /work or /workspace

jgallen23 avatar Aug 13 '15 20:08 jgallen23