Commit Graph

55 Commits

Author SHA1 Message Date
bergware
48e2773e35 Update Docker/VM to reference $eth0 2016-05-14 15:29:19 +02:00
bergware
bf84b78f6e Update Docker/VM to reference $eth0 2016-05-14 15:28:57 +02:00
bergware
561d84f6ec Selective disable of fields when editing docker configuration
Avoid user confusion.
2016-05-14 09:26:46 +02:00
bergware
4a43eef8d8 Update IPADDR references 2016-05-12 08:49:48 +02:00
Eric Schultz
099d37111b Docker: bug fix: allow official docker image updates to work 2016-04-14 12:12:57 -05:00
Eric Schultz
d546a3ea50 Docker: don't download banner images anymore (banners were removed a while back) 2016-04-13 21:27:28 -05:00
Eric Schultz
05cb2f2d7f Docker: remove spaces from container names 2016-04-04 19:15:52 -05:00
Eric Schultz
2d170c267c Docker: Don't override /config Name or Display for V2 templates 2016-04-01 18:15:39 -05:00
Eric Schultz
33101df545 Docker: add 'RO/Slave' path option 2016-03-30 21:38:25 -05:00
gfjardim
6c1df6b987 Fix: Templates not updating 2016-03-29 12:36:17 -03:00
Eric Schultz
92ae26e0c9 Merge branch 'master' of github.com:limetech/dynamix-6.2 2016-03-23 16:03:34 -05:00
gfjardim
cb6d1e2c57 Fix: wrong variable name prevents config creation 2016-03-22 19:42:10 -03:00
Eric Schultz
c8a595f51e Docker formatting / cleanup 2016-03-21 19:10:28 -05:00
Eric Schultz
45ed2b32c7 Docker: allow use of IP or PORT variables in WebUI to be independent of each other 2016-03-21 18:06:57 -05:00
Eric Schultz
8b8fb70d63 Fix Docker WebUI persistence in certain cases 2016-03-21 18:03:34 -05:00
gfjardim
16a931b807 Add Template Authoring Mode. 2016-03-20 20:08:55 -03:00
gfjardim
fc5ef34aaf Bug fixes
- Add: ability to hide edit/remove buttons in basic view;
- Add: hide advanced configurations in a collapsable menu - easier than
toggle Advanced View;
- Fix: Load edited Overview when toggle Views;
- Fix: Variable select box doesn’t have the same textPath width;
- Fix: limit the height of Categories dropdown menu to 200px.
- Fix: dropdownchecklist CSS for white theme
2016-03-20 20:07:24 -03:00
gfjardim
357b0bb92a Add the ability to keep templates in sync with the author's modifications 2016-03-20 20:01:48 -03:00
gfjardim
cb57198de0 Set default port mode to TCP and path mode to RW 2016-03-20 19:57:06 -03:00
Eric Schultz
a68898f197 Merge branch 'master' of github.com:limetech/dynamix-6.2 2016-03-16 17:14:28 -05:00
gfjardim
ff93c67e07 Change shared to slave due security reasons
I’ve confirmed that a privileged container can unmount a host target if
the volume map is mounted as shared. With slave propagation, the
unmount only took place inside the container, without affecting the
host target.
2016-03-16 19:09:59 -03:00
gfjardim
0113515de9 Docker: Fix black theme for dropdownchecklist 2016-03-16 08:12:07 -03:00
gfjardim
0d26dddccd Add dropdowchecklist CSS for black theme 2016-03-15 19:38:35 -03:00
gfjardim
9d81f11c61 Add RW/Shared option to paths 2016-03-15 18:30:05 -03:00
gfjardim
0ba305501d Add a dropdown menu to Category selection
Please note that in black theme the dropdownchecklist widget don’t
inherit colors from the dynamix css.

I’ll remove the “advanced” class from this row until Ronald can fix it.
2016-03-15 10:39:36 -03:00
Eric Schultz
8981389334 Merge branch 'master' of github.com:limetech/dynamix-6.2 2016-03-14 23:46:45 -05:00
Eric Schultz
52ac1d19f8 Docker: always show the 'Add another Path, Port or Variable' button 2016-03-14 09:50:38 -05:00
gfjardim
bd06cae38b Create a default name for config if it's empty 2016-03-14 11:24:57 -03:00
gfjardim
0289168bf1 Patch jQuery Ui widget to Dynamic black theme. 2016-03-14 11:24:11 -03:00
gfjardim
fea79851c0 Remove deprecated stylesheet (gh-buttons.css)
This was needed with banner view mode, it’s useless now.
2016-03-14 11:23:04 -03:00
gfjardim
d304921142 Deal with deprecation of auto creating host paths
URL:
https://docs.docker.com/engine/deprecated/#auto-creating-missing-host-pa
ths-for-bind-mounts
2016-03-14 09:30:19 -03:00
gfjardim
9d37b7879a Export ports as variable if Network is set to host 2016-03-14 09:11:48 -03:00
Eric Schultz
752bbd801c Fix: Docker 'WebUI' content menu item now hidden when the web ui link is empty 2016-03-13 11:37:25 -05:00
Eric Schultz
eb158b7e58 Docker: updated 'Add Config' button to be a little more descriptive on the create/edit container page 2016-03-13 11:25:21 -05:00
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