Commit Graph

126 Commits

Author SHA1 Message Date
bergware bc03b43a38 Code consistency 2018-04-02 17:15:47 +02:00
bergware b6d86dc5f7 Docker enhancements and corrections
- delete cache files when container is deleted
- improved handling of user defined networks
-  optimized reading of container and image settings
- improved handling of container IP address assignment
- code optimization and consistency
2018-04-02 13:18:31 +02:00
bergware 6f0b4664d0 Docker only remove icons when container/image is deleted 2018-03-26 16:37:58 +02:00
bergware 8229bc8020 Dokcer code optimization 2018-03-26 11:14:36 +02:00
bergware 2be8b2e0d5 Docker code optimizations 2018-03-25 14:24:12 +02:00
bergware d98a36df5d Docker code optimization 2018-03-25 10:30:26 +02:00
bergware c863905b73 Removed "timeout" from dcoker execution
It has no effect when docker hangs
2018-03-25 08:50:19 +02:00
bergware 63356dbf52 Use absolute path in docker call 2018-03-23 12:52:07 +01:00
bergware 1b99f04f01 Docker code optimization 2018-03-23 12:39:22 +01:00
bergware 84674ba64e Docker code optimization 2018-03-23 12:31:46 +01:00
bergware ec1344d43c Minor syntax change 2018-03-23 11:38:23 +01:00
bergware fbe5252618 Execute docker commands with timeout 2018-03-23 11:28:54 +01:00
bergware 802637f905 Minor code optimization in Docker sort 2018-03-21 10:43:51 +01:00
Squidly271 d1a8df72ea Add in project 2018-03-19 15:14:16 -04:00
Squidly271 9b49e08396 Docker: Don't automatically update webUI entry on templates
webUI being automatically updated by dockerMan on updates results in people that have as an example reverse proxied their containers and needing to have a different webUI always having to redo their changes.
2018-03-19 15:11:42 -04:00
bergware a3fe701dfe Allow user sorting preference for containers and VMs
Sorting preference also dictates the sequence in which containers and
VMs are started and stopped (reversed)
2018-03-17 13:53:05 +01:00
bergware f9a1d237cc Change docker caching to private variables 2018-03-17 08:43:35 +01:00
bergware 395800da1c Minor code layout adjustments 2018-03-17 03:42:35 +01:00
bergware c79c66d2f9 DockerClient: commented out DEBUG 2018-03-17 03:26:35 +01:00
bergware 2fa3607c23 DockerClient: improved caching 2018-03-17 02:46:21 +01:00
bergware d9a33e92a4 Regression: fix container sorting 2018-03-17 00:44:29 +01:00
bergware 4550957675 Regression: fix container sorting for Dashboard 2018-03-17 00:42:20 +01:00
bergware c25aea3d52 DockerClient: code optimizations 2018-03-16 22:30:30 +01:00
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