Squid Posted April 14, 2018 Share Posted April 14, 2018 7 hours ago, tmchow said: I have several containers running that I want to execute with “--restart unless-stopped” option. How do I do this? When I go to edit a docker container I don’t see a place to add custom command line options. Extra Parameters (Advanced View) Quote Link to comment
karldonteljames Posted November 2, 2018 Share Posted November 2, 2018 On 5/26/2017 at 5:25 PM, Squid said: Then, on the application's template, add an appropriate volume mapping to that Unassigned Devices mount point. Don't forget to set the Access Mode to be either RW:slave or Read Only:slave depending upon what you need. Sorry, but how do I do this part? Quote Link to comment
karldonteljames Posted November 2, 2018 Share Posted November 2, 2018 6 minutes ago, karldonteljames said: Sorry, but how do I do this part? DW. Just being Stupid apparently. Quote Link to comment
Corodeanu N Posted April 26, 2019 Share Posted April 26, 2019 hi I need help with the csgo docker to get it to work any tips Quote Link to comment
Squid Posted April 26, 2019 Share Posted April 26, 2019 14 minutes ago, Corodeanu N said: any tips Best place to start would be to post and ask a specific question in it's support thread Quote Link to comment
Froberg Posted June 25, 2019 Share Posted June 25, 2019 On 6/2/2017 at 4:46 PM, Squid said: How do I limit the memory usage of a docker application? To limit the memory usage of a particular app, add this to the extra parameters section of the app when you edit / add it: --memory=4G This will limit the memory of the application to a maximum of 4G So, ah, like this? Or am I missing something? Wouldn't be the first time. Quote Link to comment
Squid Posted June 25, 2019 Share Posted June 25, 2019 So, ah, like this? Or am I missing something? Wouldn't be the first time.Not a variable, but in the extra parameters section. May need to switch to advanced view to see itSent from my NSA monitored device 1 Quote Link to comment
Froberg Posted June 25, 2019 Share Posted June 25, 2019 I was today years old when I found out the docker page had an advanced view switch. Cheers mate. Quote Link to comment
TODDLT Posted August 17, 2019 Share Posted August 17, 2019 I recently went through some difficulty with my Plex docker and permission rights for files. It took a week of back and forth on two sections of the forums before I had the answer. In the end it was a simple fix but it seems like very few know its there or can be an issue. I would assume this could potentially affect or be useful in other dockers as well. --Issue-- I use the Plex DVR with the Linuxserver.IO Plex docker. The video files being created by the Plex DVR were being created with limited access rights for anyone but the user "nobody" the owner of the file. I could not move, rename, delete any files without first running the "new permissions" utility on unRaid. --Cause-- linux has a UMASK default of 022, but this is not compatible with the unraid system. This limits user access to the user/group that created the folder and/or file, in this case "nobody." UMASK of 0000 will mean that all files / folders will be r/w access for all users with the appropriate permissions in unRAID. --Fix-- The Plexserver.IO docker has a variable for UMASK that isn't in the default list when first installed. You can add in the docker settings UMASK_SET, and you then assign 0000 there. This resolved the access rights issues to the DVR created files. If this is helpful to others, certainly can be added to any FAQ 1 Quote Link to comment
Heciruam Posted September 29, 2019 Share Posted September 29, 2019 (edited) So I've been trying to install a second Docker instance the way you described it in the FAQ: On 8/20/2017 at 2:38 AM, Squid said: How do I install a second instance of an applications? There may be some use cases where you may wish to run a given application twice, with separate appdata settings, ports, etc. Assuming that the container runs as network type: Bridge, On the Apps Tab (you do have Community Applications installed don't you?), Go to the Installed Apps section, Reinstall using default values the application you want to run another instance for Change the name of the application, along with assigning it different ports, paths (you may need to show advanced settings to see the appdata (/config) path) Hit Apply If the application runs as network type: Host, you will do all the same as above, but you will need to switch network type to be Bridge, and add in all of the applicable ports and reassign them as needed. (ie: check with the support thread and/or the project URL to determine which ports need to be defined Alternatively, (under either Bridge or Host network types), if you are running unRaid 6.4+, then you can also assign the new instance a different IP address and keep the ports the same (bridge mode), or not define them at all (host mode). But you will still have change the name of the application and set the appdata (/config folder) accordingly The thing is if I go to the already installed container, there is no "reinstall using default values". I can only "edit". When I edit, even though I changed name, ports, config location, and so on it just deletes the already installed docker files and installs them at the newly specified location. What am I doing wrong? Edited September 29, 2019 by Heciruam Quote Link to comment
Squid Posted September 29, 2019 Share Posted September 29, 2019 Within apps go to settings and enable reinstall defaults Sent from my NSA monitored device 1 Quote Link to comment
eagle470 Posted October 9, 2019 Share Posted October 9, 2019 On 6/2/2017 at 9:45 AM, Squid said: To do something like this, you would add to the extra parameters section of [email protected] the following: --cpu-shares=2 Where do I do this at? Quote Link to comment
Squid Posted October 9, 2019 Share Posted October 9, 2019 Just now, eagle470 said: extra parameters (Advanced View) Quote Link to comment
CyberMew Posted December 24, 2019 Share Posted December 24, 2019 On 5/26/2017 at 11:15 PM, Squid said: My docker.img file is filling up due to excessive logging from various apps Some applications will log almost everything that they do. In cases of your docker.img file filling up due to excessive logging, you should look at the application's settings within its GUI and try to limit the logging that it performs. Additionally, you can limit any docker's logging to a set size by adding the following to the Extra Parameters when you edit the application template (Switch to advanced view via the button in the top right corner) --log-opt max-size=50m --log-opt max-file=1 This will limit the log size to a very reasonable 50 Meg EDIT: DO NOT USE THE LOG ROTATION OPTION IN UNRAID LISTED BELOW. IT IS NOT OBVIOUS THE STEPS REQUIRED TO MAKE IT WORK PROPERLY For the log rotation settings to take effect, you MUST remove and reinstall your containers (or delete the docker image). It is advised to instead use the extra parameters section instead * Under unRaid 6.7.0+, the logging options now insert the appropriate entries into the entra parameters, but you still basically have to remove and then re-add the container EDIT: As of unRaid 6.4.0-rc7 you can set this globally for all applications by: Settings - Docker Stop the service Switch to advanced view Enable the logging rotation option accordingly Restart the service Works great for me on 6.6.7 unraid, fixed my sonar and ombi and transmission spamming gigabytes of logs. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.