Commit Graph

321 Commits

Author SHA1 Message Date
bergware f8e59a9e53 Docker: fixed IPv4 and IPv6 fixed addresses for container 2019-03-03 08:39:21 +01:00
Andrew Z 10dfb06d45 Suppress PHP warnings 2019-02-16 13:51:02 -05:00
bergware ef299ca852 Docker: usage memory usage in advanced view 2019-01-31 17:09:03 +01:00
bergware 037a65e16a Docker page: single column for CPU/Memory load 2019-01-30 09:49:37 +01:00
bergware 68f9d92e31 Usage bars updates 2019-01-20 09:52:46 +01:00
bergware a1477b1c21 Docker: remove "required" 2019-01-19 06:43:59 +01:00
bergware 4268562929 Docker: suppress PHP warning 2019-01-17 10:31:10 +01:00
bergware b4a1472a2f Docker: suppress PHP warning 2019-01-17 10:24:32 +01:00
Andrew Z fd64304654 Remove extraneous whitespace 2019-01-16 07:50:36 -05:00
Andrew Z 02de35dbd7 Restore parse ini file 2019-01-16 07:31:35 -05:00
Andrew Z b8ae176b45 tabs... again 2019-01-15 19:49:04 -05:00
Andrew Z b8976dbc87 Escape double quotes on docker template values 2019-01-15 19:45:36 -05:00
bergware 578e7d25c6 Added docker default settings 2019-01-13 16:55:02 +01:00
bergware 39448537db Add log-size and log-file options to docker run command 2019-01-13 13:25:52 +01:00
bergware 8ecf742b71 Selection corrections 2019-01-11 11:59:46 +01:00
bergware 6f08f43c55 Docker and VM list updates 2019-01-11 09:44:43 +01:00
bergware 351714cf11 Docker containers list update 2019-01-11 03:41:55 +01:00
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 593eef0f58 Docker containers list update 2019-01-11 02:00:20 +01:00
bergware a8efed8f96 Docker containers list update 2019-01-11 01:29:58 +01:00
bergware 3b4c3f6736 Miscellaneous corrections 2018-12-25 10:14:33 +01:00
bergware a6007bc0fe Docker: narrow CPU pinning list to fit lower resolutions 2018-11-30 11:20:12 +01:00
bergware d4a7311d8c Docker: narrow CPU pinning list to fit lower resolutions 2018-11-29 22:32:26 +01:00
Squidly271 b01d5ae55d Revert FAT32 filename collisions
#363 has been implicated in a glitch in the docker template system.  While I cannot replicate the issue at all, revert the PR as the edge case issue that it solved has only ever occurred during synthetic tests.
2018-11-10 09:05:33 -05:00
bergware 6d87a021ac Docker styling corrections 2018-10-29 19:21:06 +01:00
bergware 52dcbcd590 Docker: changed LOG file size reading to prevent HTTP time-outs 2018-10-24 20:56:52 +02:00
Eric Schultz 789f5b6eff Merge pull request #403 from rhurling/fix-docker-private-registry-support
Improve private docker registry support (correctly pulling and updating containers)
2018-10-20 01:45:24 -05:00
Eric Schultz 4485c00cfc Include Helpers.php 2018-10-20 01:14:06 -05:00
tom mortensen 01df902045 Merge pull request #405 from Squidly271/patch-18
Code change to prevent CA from modifying system file
2018-10-19 08:45:43 -07:00
Rouven Hurling 6811d05bcf get the correct base64 from docker config (missing array subkey) 2018-10-19 15:59:40 +02:00
Squidly271 09c8388a5b Fix container log size
The docker logs command outputs to both stdout and stderr depending upon the type of log entry.  Both have to be accounting for in determining the log size
2018-10-18 22:01:49 -04:00
Squidly271 7bfb17282a Why can't everyone use tabs? 2018-10-18 20:14:48 -04:00
Squidly271 1a530bd085 Code change to prevent CA from modifying system file
CA currently when installing multiple previously installed apps will copy, modify, and execute a different version of CreateDocker.php to avoid a harmless display error.  Minor code adjustment to prevent CA from having to do that (since it may at some point in the future break).
2018-10-18 20:13:02 -04:00
Rouven Hurling 9d14283f35 load localVersion from docker api if json version === null 2018-10-16 07:22:01 +02:00
Rouven Hurling 2791a463a1 rewrite getRemoteVersionV2 to follow correct api flow
1. get www-authenticate header for realm, service & scope
2. get token from generated url (realm + query args service & scope)
3. get manifest header Docker-Content-Digest

Also allows access to private docker registries
2018-10-16 07:21:09 +02:00
Rouven Hurling a70373a3fb send X-Registry-Auth header when pulling image from private registry 2018-10-15 04:28:35 +02:00
bergware 18866d7e7b Docker: added "container size" calculation 2018-10-02 23:15:09 +02:00
bergware 7aa1b9e7d8 Docker: added "container size" calculation 2018-10-02 23:13:14 +02:00
bergware 6625749430 Docker: added "container size" calculation 2018-10-02 20:44:03 +02:00
bergware c0f63ed397 Docker: added "container size" calculation 2018-10-02 20:31:31 +02:00
bergware 8596c50f86 Docker: fixed autostart order not updated when "wait" values are present 2018-09-30 09:58:43 +02:00
Squidly271 b85259dcb5 Revert docker run Security
While I think this was a decent idea, in actual practice there are too many possibilities / permutations of quoting etc that can potentially result in a false positive and prevent the user from executing their container.  Net result is that the security routine would have to be continually updated as more legit usages com to light.

Since the whole point of the original change was to prevent repository maintainers from maliciously executing arbitrary commands in the docker run and not to impact end-users at all, this will have to be purely enforced on CA's end instead.
2018-09-28 09:17:37 -04:00
bergware dcefec035d Make font sizes relative 2018-09-27 17:56:08 +02:00
Eric Schultz 0dea5fbf0f Merge pull request #379 from Squidly271/patch-12
Docker: Suppress error if no volumes present in template
2018-09-06 16:31:30 -05:00
Squidly271 588e768027 Update DockerContainers.php 2018-09-06 17:18:45 -04:00
Squidly271 84d7a0bae4 Docker: Suppress error if no volumes present in template 2018-09-06 08:55:18 -04:00
bergware 017ab14495 Docker containers: improved table spacing 2018-09-06 13:03:31 +02:00
bergware fc7fe25a66 Docker containers: imrpoved table spacing 2018-09-06 13:00:13 +02:00