Commit Graph

310 Commits

Author SHA1 Message Date
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
bergware
c2c66865a9 Docker containers: list adjustment to fit better smaller screens 2018-09-05 22:25:39 +02:00
bergware
bdf874ba85 Fixed: regression error in docker "check for updates" 2018-09-05 17:58:56 +02:00
Tom Mortensen
6668ad0ec5 Change 'unRAID' to 'Unraid' to match new branding.
Updated a few copyright strings.
2018-08-31 12:58:40 -07:00
Eric Schultz
d6328db0cb Merge pull request #363 from Squidly271/patch-9
dockerMan: Avoid filename collisions on FAT32
2018-08-23 17:44:11 -05:00
bergware
ef3ad76619 Docker containers page: show container starting up message
Starting docker service and auto-starting containers has been decoupled.
This lets the docker page return as soon as the service is ready.
The container overview page shows a new message, and will automatically reload to update the status until all containers are auto-started
2018-08-23 17:37:14 +02:00
bergware
d58950da7c Docker: filetree css correction 2018-08-23 14:14:24 +02:00
bergware
50c7e54b75 VM/Docker filetree css corrections 2018-08-23 09:47:22 +02:00
bergware
0c5abec7a1 Revamp of themes White and Black
New style themes, including fixes and enhancements.
Ported back to themes Azure and Gray
2018-08-21 07:43:04 +02:00
Squidly271
7cea8a9b16 Update CreateDocker.php 2018-08-18 23:01:12 -04:00
Squidly271
05facfac62 dockerMan: Avoid filename collisions on FAT32
Because under FAT32, my-plexmediaserver == my-PlexMediaServer.  Solves an edge case
2018-08-18 22:59:30 -04:00
bergware
1c90885ea4 Fixed regression errors in Docker after CPU pinning PR 2018-08-11 08:45:53 +02:00