Commit Graph

53 Commits

Author SHA1 Message Date
bergware
9dfd418dd4 Fixes and improvements for Docker
- fixed deletion of orphan images
- inline list update when removing container or image
- fixed list updating after execution error
- added animation when removing container or image
- delete old xml file when container is renamed
- fixed IP assignment with multiple containers based on the same image
2018-03-16 17:15:21 +01:00
Squidly271
990c785b06 PHP Warning Update 2018-03-02 20:56:27 -05:00
Squidly271
6965583061 Add in Support & Project Links to Docker Context Menu
Every container added in via CA should already have the Support Link present (if added post 6.3)
Majority of apps in CA also have a project link present, but this will only thus far dockerMan hasn't saved that entry on user templates, so the Project link on the context menus will only appear for new containers added after the PR is aproved
2018-01-27 10:13:15 -05:00
Eric Schultz
6c2842eaa1 Fix Docker container status to show "not available" when it fails to check for updates 2017-12-22 07:42:05 -06:00
Eric Schultz
1824dc641f Only save docker json files if content changes were made 2017-12-21 11:23:10 -06:00
Squidly271
28e610735a Fix docker updates occasionally trying to remove wrong image
https://forums.lime-technology.com/topic/57985-docker-failure-to-remove-orphan-image-due-to-similar-named-image/

Also handles rare edge case of multiple containers installed with different tags all referring to an identical image at the time of upgrade
2017-12-15 18:39:37 -05:00
bergware
7c97284e91 Suppress warnings in $docroot and $disk['fsSize'] variables
These are easy to correct warnings.
2017-12-14 13:53:31 +01:00
Tom Mortensen
472ebc9b5f Merge branch '6.4-wip' of github.com:limetech/webgui into 6.4-wip 2017-05-16 12:50:03 -07:00
Tom Mortensen
5f6eee021d Send command straight to emhttpd.socket to update status. 2017-05-16 12:47:43 -07:00
Eric Schultz
b18f0f8e5d more docker ipv6 fixes from ronald 2017-05-16 11:03:10 -05:00
Eric Schultz
c30b8c5d93 webGui: allow custom IP addresses for individual Docker containers #2 2017-05-08 17:43:33 -05:00
Eric Schultz
89f7fcbba4 webGui: allow custom IP addresses for individual Docker containers 2017-05-07 15:27:52 -05:00
Eric Schultz
a56f3781f3 Fixed DockerClient to prevent Illegal string offset warnings in syslog (nitpick in new PHP version) 2017-04-06 07:53:15 -05:00
Eric Schultz
5882bb554a improve Docker mkdir permissions so nginx can access files 2017-03-23 11:42:06 -05:00
Eric Schultz
0c5a36741a webgui updates for 6.3.0-rc9 2017-01-27 10:23:44 -06:00
Eric Schultz
7d9b7c2311 Fixed: Web UI Docker Stop/Restart does not cleanly stop container 2016-10-30 18:43:37 -05:00
Eric Schultz
3b86063380 Restore gfjardim's changes from 'Fix: empty template created while updating user template.' 2016-10-29 16:59:28 -05:00
bergware
b1abd0dce7 Fix error message when RepoTags object doesn't exist 2016-10-29 12:21:45 +02:00
bergware
951abbc9ba Updated PHP to preferred "elseif" sinlge statement 2016-10-29 09:30:21 +02:00
Eric Schultz
003c0695d5 Merge pull request #76 from bergware/master
Incorporate all enhancements of "bleeding edge"
2016-10-27 12:51:11 -05:00
gfjardim
9e73a76e2e Fix: empty template created while updating user template. 2016-10-25 15:50:32 -02:00
bergware
bba74f4cf1 Replace fixed path with docroot variable 2016-10-24 09:42:23 +02:00
Eric Schultz
f9d89cde98 Docker: Host header now required for new docker api 2016-10-18 15:03:47 -05:00
Squidly271
5a02ad8f86 Delete failed downloads on template updates 2016-09-01 21:14:30 -04:00
Eric Schultz
3c273be4bf Purge Docker icon after container removal (also helps reload outdated icons) 2016-08-10 15:54:22 -05:00
Eric Schultz
75e158ab7f Docker: trim trailing spaces from certain input box values 2016-07-10 19:43:24 -05:00
Eric Schultz
099bd4ee2b fixed purging cached container information when the container is removed 2016-07-03 16:55:31 -05:00
Eric Schultz
bc8de27b5d improved cache handling for docker container/image information which may have solved some rare cases of showing stale info on the web ui 2016-06-29 19:41:04 -05:00
Eric Schultz
5eb5245b38 Merge branch 'master' of github.com:limetech/dynamix-6.2 2016-06-26 18:22:54 -05:00
Tom Mortensen
5a04fce64a Restore global variable "docker_cfgfile". 2016-06-26 14:28:18 -07:00
bergware
0ccc143aa4 Update copyright [8] 2016-06-26 11:57:44 +02:00
Eric Schultz
238a2c5f6d Fix Docker update to always request manifest.v2 information 2016-06-14 18:16:56 -05:00
Eric Schultz
b2cb34c766 Merge branch 'master' of github.com:limetech/dynamix-6.2 2016-06-14 16:51:19 -05:00
bergware
e7032eaff3 Update copyright [6]
2005 it is....
2016-06-14 13:31:56 +02:00
Tom Mortensen
da12336be9 Fix handling of docker.cfg and domain.cfg files. 2016-06-13 15:00:46 -07:00
bergware
600930a263 Made copyright consistent and updated to 2016 2016-06-12 08:01:52 +02:00
Eric Schultz
008f628df5 Docker: support Gitlab repo (url) for docker template (Thanks Nigel George!) 2016-06-03 07:49:41 -07:00
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
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
gfjardim
6c1df6b987 Fix: Templates not updating 2016-03-29 12:36:17 -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
357b0bb92a Add the ability to keep templates in sync with the author's modifications 2016-03-20 20:01:48 -03:00
Eric Schultz
b541eaa074 Fix: Docker remove context item should delete container not image 2016-02-23 06:41:58 -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
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