Commit Graph

21 Commits

Author SHA1 Message Date
Eric Schultz
02100b31bf Docker: removed 'Dry Run' button on create/edit container page 2016-03-13 11:06:26 -05:00
Eric Schultz
124b1ffa3c Fix: allow deleting docker vdisk 2016-03-06 18:06:39 -08:00
Eric Schultz
e839fae90c Fix docker log coloring for 6.2 2016-03-06 17:35:11 -08:00
Eric Schultz
3a6880113e Fix arguments with spaces when calling docker 2016-03-05 14:00:51 -08:00
Eric Schultz
a1e1b85a6a Fix: Color coding only for 'docker logs' 2016-03-04 15:37:23 -08:00
Eric Schultz
9482eb39a3 Merge upstream webgui changes from Ronald 2016-03-03 13:39:57 -08:00
Eric Schultz
5c91aaf170 Docker Settings: minor correction to btrfs scrub help text styling 2016-02-28 20:21:58 -08:00
Eric Schultz
a4df64c7fa Allow modifying Docker and VM Settings pages; show docker and libvirt running status 2016-02-26 21:19:31 -08:00
Eric Schultz
b541eaa074 Fix: Docker remove context item should delete container not image 2016-02-23 06:41:58 -08: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
4f560d7ee5 Docker code cleanup/refactor and bug fixes:
- Dont start container after update if it was in a stopped state before the update

- Dont try to stop a container if it is not running (was causing warnings to be logged)

- Reduced script tag generation for docker pull operations

- Correctly clean up old orphan images after updating a container (was broken before)

- Eliminated race condition when deleting both container and image

- Switched to use SweetAlert instead of jQuery UI dialogs for prompts and alerts
2016-02-12 07:15:23 -08:00
Tom Mortensen
74b7d4871f Misc. tweaks. 2016-01-23 11:33:18 -08:00
Eric Schultz
8095de8759 merge ronalds changes from upstream + some vm and dashboard fixes 2016-01-12 19:59:16 -08:00
Eric Schultz
c4daf92260 Docker: Fix javascript bugs and optimize code on the docker install progress log 2015-12-16 13:45:00 -08:00
Eric Schultz
b54990b00a Docker: Fix: show docker updates as 'available' instead of 'unknown' when upgrading from 6.1 to 6.2 2015-12-16 13:43:06 -08:00
Eric Schultz
1e2844a361 Docker: remove author table column and show them only from advanced mode 2015-12-16 13:40:35 -08:00
Eric Schultz
002c8b186b Docker: fix: use log.htm instead of log.php (these changes missed inclusion a few commits ago) 2015-12-06 17:27:07 -06:00
Eric Schultz
fb97f32a37 Docker: resolve progress hangs, Docker Index V2 api "updates available" compatibility, code cleanup 2015-11-30 19:49:18 -06:00
Eric Schultz
6287e9d737 Docker Settings: use transpose_user_path helper function 2015-11-30 17:58:33 -06:00
Eric Schultz
86814f808d Docker Manager: updates from gfjardim and revamped vm settings 2015-11-25 22:30:49 -06:00
Eric Schultz
30ca111094 initial commit 2015-10-24 10:17:28 -07:00