Dev Environment based on Docker


#1

Hi there,

is there anyone who set up an docker based dev environment for oc-server where the code from the local machines IDE is linked into a container?

THX

NilO


#2

Our Docker files/images are here: https://hub.docker.com/r/owncloud/server/
Can you ellaborate what you mean with "where the code from the local machines IDE is linked into a container"


#3

I'll try to ellaborate...

The one thing is to build a owncloud instance with docker-compose from the github-repo for example.

But wouldn't it be nice to develop the owncloud code in an IDE and let the changes be visible/effictive immediately in a running container on the development-machine? The advantages are not to install apache php nor mysql and the development is very close to a production environment.

I hope the explanation make thing clearer for you.

In the end I'm searching for people who have experience with the described scenario.


#4

You probably want to mount the owncloud code-directory as a Volume.