Univention Bugzilla – Bug 39412
The App Center Docker implementation still uses aufs
Last modified: 2015-11-17 12:11:32 CET
The App Center Docker implementation still uses aufs, for example: sed: kann /var/lib/docker/aufs/mnt/9232e2894a1d6c2daa6ac5f7f5bc271e1483c0a4ac2b831f1d7c7cbe7b371e12/var/www/owncloud/config/config.php nicht lesen: Datei oder Verzeichnis nicht gefunden I guess /var/lib/docker/devicemapper/mnt/9232e2894a1d6c2daa6ac5f7f5bc271e1483c0a4ac2b831f1d7c7cbe7b371e12/rootfs/ would be the right directory.
OK, this is the right directory for containers running with devicemapper as storage driver. But I struggle to find the directory for stopped containers. This is needed to copy docker scripts (like setup, store_data) into the container even when the app was stopped. It was: /var/lib/docker/aufs/diff/$CONTAINER
I built a version that does not use the now bugged path_not_running() method. This is just a interim solution until I find out the correct path
Docker scripts are now copied into the container just before they are executed (therefore may be copied multiple times, but I think this is okay). This way I do not need the path to a stopped container anymore. I am still interested, but I have removed the method for now completely.
Ok, I added a changelog entry along with Bug #39418.
UCS 4.1 has been released: https://docs.software-univention.de/release-notes-4.1-0-en.html https://docs.software-univention.de/release-notes-4.1-0-de.html If this error occurs again, please use "Clone This Bug".