Sharing folders on Beanstalk Docker

It is very easy to setup volume sharing in docker. You ideally want the following folders to be shared when a new docker is initialized for you:

Here’s how you’d do it. The keyword is VOLUME… in your Dockerfile

VOLUME [ \
    "/var/shared/", \ 
    "/etc/nginx/sites-enabled", \ 
    "/var/log/nginx", \
    "/ws/" \
]
comments powered by Disqus