Commit Graph

8 Commits

Author SHA1 Message Date
bergware
f6f4ff5d0c Docker: start/stop "docker_load" depending on view 2019-01-11 02:54:38 +01:00
bergware
a13c914d44 Revert "Docker: start/stop "docker_load" depending on view"
This reverts commit 083ba8a3e1.
2019-01-11 02:53:16 +01:00
bergware
083ba8a3e1 Docker: start/stop "docker_load" depending on view 2019-01-11 02:48:20 +01:00
bergware
16330a358e Minor code adjustment 2018-05-30 07:12:22 +02:00
bergware
6377e8bf86 Change file permission 2018-05-29 15:11:54 +02:00
bergware
7ac37e493f Make docker_load script start/stop event driven 2018-05-29 14:49:47 +02:00
Tom Mortensen
08146b82ec Sequencing start/stop of docker and libvirt moved into emhttp. After network services (smb, afp, nfs) have
been started we start docker (if enabled) and then libvirt (if enabled), and only if array is Started in
non-maintenance mode. Upon array Stop, libvirt is stopped first, then docker, then network services.

The libvirt loopback image now exists on the "system" system share.  Script ./dynamix.vm.manager/scripts/libvirt_init
is invoked each time libvirt is started to handle initialization of the mounted image file if necessary.  Also got
rid of the old way libvirt loopback was initialized via compressed tar file.

Create/mount of docker and libvirt loopback images implemented in /usr/local/sbin/mount_image script.

The docker and libvirt loopback image files by default are located on /mnt/user/system/docker.img and
/mnt/user/system/libvirt/libvirt.img.

Default /boot/config/docker.cfg and /boot/config/domains.cfg added to flash image.  This is so that docker and
libvirt start out enabled.

The /boot/config/shares/{appdata,domains,isos,system}.cfg files are created each time array Starts if they do
not exist already. This establishes defaults for these so-called "system" shares.

The "appdata", "domains", and "system" system shares have setting shareUseCache="only".  These shares therefore
cannot be auto-created unless/until a cache disk/pool is available.
2016-02-21 15:18:31 -08:00
Eric Schultz
30ca111094 initial commit 2015-10-24 10:17:28 -07:00