Access to demoshop code in Docker


#1

Hi there,

I installed the demoshop with docker like in the documentation.
With Vagrant we had a shared folder with the demoshop project but now, with the docker installation there is no shared folder and I cannot access the code, unless I use ssh.

Shouldn’t there be a shared folder with the project?

Thank you,
Cosmin


#2

Hi Cosmin,

Docker for Windows uses Microsoft Hyper-V for virtualization and the OS doesn’t have the direct access to the filesystem as it is available in Linux PC with Docker. So the workaround is the solutions like docker-sync . We have tested it for MacOS and it works rather good.

Unfortunately, we don’t have the step-by-step how to guide for this approach in our academy at this moment.


Regards,
Vladimir Voronin


#3

Hey Vladimir,
It would be really helpful if you share your docker-sync.yml :wink:

I‘m struggling with some permission errors on OSX.

Best,
Till


#4

Hi Till,

The docker-compose.yml is attached.


#5

Sorry, I mean docker-sync.yml :slight_smile:


#6

I cant see it. :confused: maybe attachments don’t work in mail responses?!


#7

I found it in the academy github repo --> https://github.com/spryker/spryker-academy/blob/master/docker-sync.yml