Ubuntu Pastebin

Paste from catbadger at Sat, 4 Mar 2017 13:46:07 +0000

Download as text
1
2
3
4
5
6
I'm about to try something and I want to know if it's the right approach. 
I'm going to give a developer that I sort of trust a limited privelege account (no sudo) on a docker host. 
I want to symlink from his home directory to arbitrary paths on the host (/srv/www.example.com) and have him edit files for development there. In a docker container i will be setting up a small LAMP install with phpmyadmin in a subdirectory so that the developer can add tables to the application.
My understanding is that I need to set up the server with a run command similar to this to give the container the external directory:
# docker run -d -v /srv/mysite.com:/var/www
this isn't working and i'm lost as to how to troubleshoot this.
Download as text