Menu="OtherSettings" Title="Docker" Icon="dynamix.docker.manager.png" Tag="docker" --- Your existing Docker image file needs to be recreated due to an issue from an earlier beta of unRAID 6. Failure to do so may result in your docker image suffering corruption at a later time. Please do this NOW!

'; } } } unset($custom); exec("ls --indicator-style=none /sys/class/net|grep -P '^br[0-9]'",$custom); exec("ls --indicator-style=none /sys/class/net|grep -P '^(bond|eth)[0-9]'",$other); foreach ($other as $network) { if (substr($network,0,4)=='bond') { $br = str_replace('bond','br',$network); if (!in_array($br,$custom)) $custom[] = $network; } else { $br = str_replace('eth','br',$network); $bond = str_replace('eth','bond',$network); if (!in_array($br,$custom) && !in_array($bond,$custom)) $custom[] = $network; } } $include = []; $include6 = []; foreach ($custom as $network) { if ($route = exec("ip -4 route show dev $network|grep -Po '^[12]\S+'")) $include[$network] = $route; if ($route6 = exec("ip -6 route show dev $network|grep -Po '^[1-9]\S+'")) $include6[$network] = $route6; } function base_min($route) { list($net,$mask) = explode('/',$route); $mask = 32-$mask; return explode('.',long2ip((ip2long($net)>>$mask)<<$mask)); } function base_max($route) { list($net,$mask) = explode('/',$route); $mask = 32-$mask; return explode('.',long2ip(((ip2long($net)>>$mask)<<$mask)+pow(2,$mask)-1)); } function base_net($route) { return substr(explode('/',$route)[0],0,-2); } ?>
Enable Docker: : One or more paths do not exist (view) > Before you can start the Docker service for the first time, please specify an image file for Docker to install to. > > Once started, Docker will always automatically start after the array has been started.
Docker vdisk size: : GB > If the system needs to create a new docker image file, this is the default size to use specified in GB. > > To resize an existing image file, specify the new size here. Next time the Docker service is started the file (and file system) will increased to the new size (but never decreased). Docker storage location: : Modify with caution: unable to validate path until Array is Started Path does not exist > You must specify an image file for Docker. The system will automatically create this file when the Docker service is first started. Docker LOG rotation: : > By default LOG rotation is disabled and will create a single LOG file of unlimited size. > > Enable LOG rotation to limit the size of the LOG file and specify the number of files to keep in the rotation scheme.
Docker version: : getInfo(); echo $arrInfo['Version']?> > This is the docker version. Docker storage location: : > This is the docker volume. Docker LOG rotation: : > By default a single unlimited LOG file is created. Otherwise LOG file size and number of files are limited when LOG rotation is enabled.
Default appdata storage location: : Modify with caution: unable to validate path until Array is Started Path does not exist > You can specify a folder to automatically generate and store subfolders containing configuration files for each Docker app (via the /config mapped volume). > > Only used when adding new Docker apps. Editing existing Docker apps will not be affected by this setting.
Template Authoring Mode: : > If set to **Yes**, when creating/editing containers the interface will be present with some extra fields related to template authoring.
$route):?> DHCPv4 pool of custom network (optional): : > ."; for ($n=$net[$b]; $n<=$max[$b]; $n++) echo mk_option($net_user[$b],$n,$n,$n%$step==0?'':'class="hide"'); echo ""; } echo "/"; echo "($size hosts)"; echo ""; ?> DHCPv4 pool of custom network : :   ( hosts) > Enter a pool range within the allocated subnet which is used for DHCPv4 assignments by Docker. E.g. 192.168.1.128/25 $route):?> DHCPv6 pool of custom network (optional): : > :/"; echo ""; ?> DHCPv6 pool of custom network : : > Enter a pool range within the allocated subnet which is used for DHCPv6 assignments by Docker. E.g. 2a02:abcd:9ef5:100:1::/80
  :
Docker volume info
btrfs filesystem show: : ".shell_exec("btrfs filesystem show /var/lib/docker").""?>
btrfs scrub status: : ".implode("\n", $scrub_status).""?>   : > **Scrub** runs the *btrfs scrub* program to check file system integrity. > > If repair is needed you should check the *Correct file system errors* and run a second Scrub pass; this will permit *btrfs scrub* to fix the file system.   : *Running* > **Cancel** will cancel the Scrub operation in progress.