Docker GUI plugin now stable

    • OMV 2.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Hello guys,

      today I updated the docker ce package to the latest version. Now I see the following notification, when I navigate to "Services - Docker" in the omv webui:





      If I go to "Show details", I see the following Error description:

      Source Code

      1. Error #0:
      2. exception 'ImagickException' with message 'Imagick::__construct(): HTTP request failed! HTTP/1.1 404 Not Found
      3. ' in /usr/share/openmediavault/engined/rpc/docker.inc:1504
      4. Stack trace:
      5. #0 /usr/share/openmediavault/engined/rpc/docker.inc(1504): Imagick->__construct('https://raw.git...')
      6. #1 [internal function]: OMVRpcServiceDocker->syncDockerLogos(NULL, Array)
      7. #2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
      8. #3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('syncDockerLogos', NULL, Array)
      9. #4 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Docker', 'syncDockerLogos', NULL, Array, 1)
      10. #5 {main}
      11. Next exception 'ImagickException' with message 'Failed to read the file' in /usr/share/openmediavault/engined/rpc/docker.inc:1504
      12. Stack trace:
      13. #0 /usr/share/openmediavault/engined/rpc/docker.inc(0): Imagick->__construct()
      14. #1 [internal function]: OMVRpcServiceDocker->syncDockerLogos(NULL, Array)
      15. #2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
      16. #3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('syncDockerLogos', NULL, Array)
      17. #4 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Docker', 'syncDockerLogos', NULL, Array, 1)
      18. #5 {main}
      Display All

      Here is the snip from the "update management history log":

      Source Code

      1. Start-Date: 2017-12-30 16:47:10
      2. Commandline: apt-get --yes --force-yes --fix-broken --fix-missing --auto-remove --allow-unauthenticated --show-upgraded --option DPkg::Options::=--force-confold install docker-ce
      3. Upgrade: docker-ce:amd64 (17.09.1~ce-0~debian, 17.12.0~ce-0~debian)
      4. End-Date: 2017-12-30 16:47:18

      I restarted the docker service, but the message is still there. Seemingly everything works as expected.


      Do you need any other informations to repair this?

      Greetings Hoppel
      ---------------------------------------------------------------------------------------------------------------
      frontend software - android tv | libreelec | win10 | kodi krypton
      frontend hardware - nvidia shield tv | odroid c2 | yamaha rx-a1020 | quadral chromium style 5.1 | samsung le40-a789r2 | harmony smart control
      -------------------------------------------
      backend software - debian | kernel 4.4 lts | proxmox | openmediavault | zfs raid-z2 | docker | emby | vdr | vnsi | fhem
      backend hardware - supermicro x11ssh-ctf | xeon E3-1240L-v5 | 64gb ecc | 8x4tb wd red | digital devices max s8
      ---------------------------------------------------------------------------------------------------------------------------------------
    • Docker GUI plugin now stable

      Ok, so it has nothing to do with the update? Do you also see this message?

      Thanks
      ---------------------------------------------------------------------------------------------------------------
      frontend software - android tv | libreelec | win10 | kodi krypton
      frontend hardware - nvidia shield tv | odroid c2 | yamaha rx-a1020 | quadral chromium style 5.1 | samsung le40-a789r2 | harmony smart control
      -------------------------------------------
      backend software - debian | kernel 4.4 lts | proxmox | openmediavault | zfs raid-z2 | docker | emby | vdr | vnsi | fhem
      backend hardware - supermicro x11ssh-ctf | xeon E3-1240L-v5 | 64gb ecc | 8x4tb wd red | digital devices max s8
      ---------------------------------------------------------------------------------------------------------------------------------------

      The post was edited 1 time, last by hoppel118 ().

    • Docker GUI plugin now stable

      Ok, it‘s not a problem at all. Can’t see any drawbacks, everything works as expected.

      Greetings Hoppel
      ---------------------------------------------------------------------------------------------------------------
      frontend software - android tv | libreelec | win10 | kodi krypton
      frontend hardware - nvidia shield tv | odroid c2 | yamaha rx-a1020 | quadral chromium style 5.1 | samsung le40-a789r2 | harmony smart control
      -------------------------------------------
      backend software - debian | kernel 4.4 lts | proxmox | openmediavault | zfs raid-z2 | docker | emby | vdr | vnsi | fhem
      backend hardware - supermicro x11ssh-ctf | xeon E3-1240L-v5 | 64gb ecc | 8x4tb wd red | digital devices max s8
      ---------------------------------------------------------------------------------------------------------------------------------------
    • Docker GUI plugin now stable

      It would be nice, if you fix it. But it’s not a priority thing.

      Have a nice day!
      ---------------------------------------------------------------------------------------------------------------
      frontend software - android tv | libreelec | win10 | kodi krypton
      frontend hardware - nvidia shield tv | odroid c2 | yamaha rx-a1020 | quadral chromium style 5.1 | samsung le40-a789r2 | harmony smart control
      -------------------------------------------
      backend software - debian | kernel 4.4 lts | proxmox | openmediavault | zfs raid-z2 | docker | emby | vdr | vnsi | fhem
      backend hardware - supermicro x11ssh-ctf | xeon E3-1240L-v5 | 64gb ecc | 8x4tb wd red | digital devices max s8
      ---------------------------------------------------------------------------------------------------------------------------------------
    • Hello,

      I've enabled the Docker CE plugin in OMV4 and installed Docker.

      Installed the plex and emby image, but when I run those images and the container is running, the log is filled with errors standard_init_linux.go:195: exec user process caused "exec format error"

      What am I doing wrong?

      Try to run it on an ESPRESSObin (ARMBIAN 5.37.171231 nightly Debian GNU/Linux 9 (stretch) 4.4.107-mvebu64)

      The post was edited 2 times, last by Frepke ().

    • Frepke wrote:

      What am I doing wrong?
      You are trying to use an x86/amd64 docker image on an arm board... This will not work and you must use arm images.
      omv 4.0.17 arrakis | 64 bit | 4.14 backports kernel | omvextrasorg 4.1.2
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please don't PM for support... Too many PMs!
    • Arm images are prefixed with rpi or arm. Docker originally was only available for amd64 only, arm support was added later problem is images need to be for corresponding arch. This is common mistake in the last 18 months.
      chat support at #openmediavault@freenode IRC | Spanish & English | GMT+10
      telegram.me/openmediavault broadcast channel
      openmediavault discord server

      The post was edited 1 time, last by subzero79 ().

    • Frepke wrote:

      ryecoaaron wrote:

      Frepke wrote:

      What am I doing wrong?
      You are trying to use an x86/amd64 docker image on an arm board... This will not work and you must use arm images.
      Thanks ryecoaaron,
      I'm new on Docker, but how could I've missed that ?(

      kr.,
      Frepke
      Thanks guys for pointing me in the right direction.


      Now I've Plex running in a docker on my ESPRESSObin by pulling the following image "lsioarmhf/plex".

      Still a lot to learn but there's progress ^^
    • Hello all,

      when I try to download a Docker image from the default repo, at some point during the pull process I get the following message (often even though some of the stages appear to have worked:

      Error #0:
      exception 'OMVModuleDockerException' with message 'Error: "couldn't connect to host" - Code: 7' in /usr/share/omvdocker/Utils.php:63
      Stack trace:
      #0 /usr/share/omvdocker/Utils.php(125): OMVModuleDockerUtil::doApiCall('http://localhos...')
      #1 /usr/share/openmediavault/engined/rpc/docker.inc(145): OMVModuleDockerUtil::getImages('42005', true)
      #2 [internal function]: OMVRpcServiceDocker->getImages(Array, Array)
      #3 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
      #4 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('getImages', Array, Array)
      #5 /usr/sbin/omv-engined(500): OMVRpc::exec('Docker', 'getImages', Array, Array, 1)
      #6 {main}

      Can anyone tell me what this means and how I can fix it?

      Thanks! :)
    • By the way... Some days ago I installed omv4. The omv docker ce plugin works as expected. I do not have the logo error message anymore.

      Greetings Hoppel
      ---------------------------------------------------------------------------------------------------------------
      frontend software - android tv | libreelec | win10 | kodi krypton
      frontend hardware - nvidia shield tv | odroid c2 | yamaha rx-a1020 | quadral chromium style 5.1 | samsung le40-a789r2 | harmony smart control
      -------------------------------------------
      backend software - debian | kernel 4.4 lts | proxmox | openmediavault | zfs raid-z2 | docker | emby | vdr | vnsi | fhem
      backend hardware - supermicro x11ssh-ctf | xeon E3-1240L-v5 | 64gb ecc | 8x4tb wd red | digital devices max s8
      ---------------------------------------------------------------------------------------------------------------------------------------
    • Hi guys,

      I've also installed omv4 and now I want to use jdownloader in Docker. Jdownloader Image is pulled and started, but I do not understand the Volumes and Mount Binds. Jdownloader ist is using the "/Output" Folder for the download Content. This Folder I want to symlink to another Folder and this is not working.

      With every start of the jdownloader Image (modify while start is not possible, because the Image will be resettet ^^), it creates another volume Folder in /var/lib/docker/volumes.

      So there are some questions:

      1. How can I use a native Folder for the Downloads?
      2. How can I save Settings for every start of the Image?

      Thanks guys
    • @Christian0P
      It's not working because a docker app is running in its own container (thats how docker is working) so it has no access to other folders. (also a symlink will not work)
      You can bind the needed folder in the docker plugin.

      For example:
      bind the following:
      /mnt/mydrive (hostpath) to /downloads (container path)
      Then you have to configure in jdownloader the downloads path to /downloads and it will be stored in /mnt/mydrive.

      You dont have to create a symlink or anything else, and if it is setted in the plugin it is also saved after restart.
      You have also to look that it isn't set to RO.
      OMV 4 Arrakis | Kernel 4.14 ... running on
      SelfBuilt NAS -- Asrock Q1900-ITX -- 4x 2,4 GHz in Burst Mode -- 4 GB DDR3 RAM -- RAID 5 -- 3x 3TB WD Red
    • @wastez

      Thank's, that is what I thought, but it isn't working.


      I've attached one screenshot



      (it is only an example for testing the permissions), which shows you my folder settings for "/download". While using the container, the folder "/download" is shown but can't be used by Jdownloader --> Invalid download dirctory.


      I think we have permission issues with that, if I will switch the "/download" folder to "/output" it is working, but the content is stored only in the container (/var/lib/docker/volumes ...). So how can I realize moving the container content from "/download" to my data disk?


      For example:


      host path ( /srv/dev-disk-by-label-Daten/Downloads ) container path ( /download )


      Result of ls -al of /download in the container is (with R/O):


      total 4
      drwxrwxr-x 2 root users 40 Jan 7 08:27 [1;34m.[0m
      drwxr-xr-x 1 root root 4096 Jan 7 09:55 [1;34m..[0m


      Result of ls -al of /download in the container is (without (R/O):


      total 4
      drwxrwxr-x 3 jdownloa jdownloa 60 Jan 7 11:19 [1;34m.[0m
      drwxr-xr-x 1 root root 4096 Jan 7 11:15 [1;34m..[0m
      drwxr-xr-x 2 jdownloa jdownloa 60 Jan 7 11:19 [1;34mSleepyHollow.s04.20.SO[0m


      I switched the APP_USER "app" to "jdownloader" of the container, but how can I find out, if the user "jdownloader" has access to this folder "/download"?

      /edit

      Now it is working, I set the following after my comment:

      host path ( /tmp/DownloadTemp ) container path ( /output )

      and started the container again, I've checked with "ls -al" /download and /output, to compare the permissions and what should I say? Both folders are using the same rights for the user "jdownloader" and now it is working.

      Lol - why? Thanks buddy.

      The post was edited 4 times, last by Christian0P ().