I’m currently trying to setup a development environment in a specialized VM, based on a clone of the debian 10 template.
I’ve tried several configuration locations while setting up the docker folders /etc/docker and /var/lib/docker as bind-dirs, but none of them seem to work.
My final goal would be to configure the template, so that I can just create new dev environments each with their own docker images and containers and not have all the images inside the template. It was my interpretation, that configuring the directories in a 50_user.conf file located at /etc/qubes-bind-dirs.d/ would achieve exactly that but I cannot seem to get this to work.
Configuring the app VM via a config file located at /re/config/qubes-bind-dirs.d does also not work.
I’m using the information from the documentation at https://www.qubes-os.org/doc/bind-dirs/
I tried running
sudo /usr/lib/qubes/init/bind-dirs.sh inside the app vm and that outputs a syntax error. As the documentation states that running this script does not work without running umount first and discourages running the script with the umount parameter (unless I’m reading that part of the docs wedding?) I don’t know if this should happen or not.
Can anyone tell me if I’m doing something wrong?