Plugin Docker

    • OMV 1.0
    • Odroid HC2 - armbian - Seagate ST4000DM004 - OMV4.x | Asrock Q1900DC-ITX - 16GB - 2x Seagate ST3000VN000 - Intenso SSD 120GB - OMV4.x
      :!: Backup - Solutions to common problems in OMV - OMV setup videos - OMV4 Documentation :!:
    • daniel_t wrote:

      can someone tell, how to setup container?
      OpenMediaVault Docker-GUI Plugin Usage

      It can be very confusing at first, take a look at @subzero79s Guide.

      Greetings
      David
      "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"

      Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.


      Upload Logfile via WebGUI/CLI
      #openmediavault on freenode IRC | German & English | GMT+1
      Absolutely no Support via PM!

      I host parts of the omv-extras.org Repository, the OpenMediaVault Live Demo and the pre-built PXE Images. If you want you can take part and help covering the costs by having a look at my profile page.
    • Anyone knows how to solve this error, please: "Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl start 'docker' 2>&1' with exit code '1': Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.

      Details = Erreur #0:OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl start 'docker' 2>&1' with exit code '1': Job for docker.service failed because the control process exited with error code.See "systemctl status docker.service" and "journalctl -xe" for details. in /usr/share/php/openmediavault/system/process.inc:175Stack trace:#0 /usr/share/php/openmediavault/system/systemctl.inc(86): OMV\System\Process->execute(Array, 1)#1 /usr/share/php/openmediavault/system/systemctl.inc(104): OMV\System\SystemCtl->exec('start', NULL, false)#2 /usr/share/openmediavault/engined/module/docker.inc(35): OMV\System\SystemCtl->enable(true)#3 /usr/share/openmediavault/engined/rpc/config.inc(194): OMVModuleDocker->startService()#4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(536): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusuq...', '/tmp/bgoutputtz...')#8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))#9 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)#10 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)#11 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#12 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)#13 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)#14 {main}

      Result of systemctl status docker.service
      docker.service - Docker Application Container Engine
      Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
      Drop-In: /etc/systemd/system/docker.service.d
      └─openmediavault.conf
      Active: failed (Result: exit-code) since Fri 2018-05-04 23:45:13 CEST; 35s ago
      Docs: docs.docker.com
      Process: 43440 ExecStart=/usr/bin/dockerd -H fd:// $DOCKER_OPTS $OMVDOCKER_API $OMVDOCKER_IMAGE_PATH (code=exited, sta
      Main PID: 43440 (code=exited, status=1/FAILURE)
      CPU: 151ms
      HP Proliant Microserver N40L - 8Go RAM - ESXi 6 - 1*250Go + 2*3To + 1*650Go - OMV 2.x installed
    • other journal info:
      -- Unit docker.socket has begun shutting down.
      May 04 23:45:13 charybde systemd[1]: Starting Docker Socket for the API.
      -- Subject: Unit docker.socket has begun start-up
      -- Defined-By: systemd
      -- Support: debian.org/support
      --
      -- Unit docker.socket has begun starting up.
      May 04 23:45:13 charybde systemd[1]: Listening on Docker Socket for the API.
      -- Subject: Unit docker.socket has finished start-up
      -- Defined-By: systemd
      -- Support: debian.org/support
      --
      -- Unit docker.socket has finished starting up.
      --
      -- The start-up result is done.
      May 04 23:45:13 charybde systemd[1]: docker.service: Start request repeated too quickly.
      May 04 23:45:13 charybde systemd[1]: Failed to start Docker Application Container Engine.
      -- Subject: Unit docker.service has failed
      -- Defined-By: systemd
      -- Support: debian.org/support
      --
      -- Unit docker.service has failed.
      --
      -- The result is failed.
      May 04 23:45:13 charybde systemd[1]: docker.socket: Unit entered failed state.
      May 04 23:45:13 charybde systemd[1]: docker.service: Unit entered failed state.
      May 04 23:45:13 charybde systemd[1]: docker.service: Failed with result 'exit-code'.
      May 04 23:45:21 charybde CRON[42778]: pam_unix(cron:session): session closed for user root
      HP Proliant Microserver N40L - 8Go RAM - ESXi 6 - 1*250Go + 2*3To + 1*650Go - OMV 2.x installed
    • Epo_Deluxe wrote:

      Which of the marked repo do i need to activate to get latest version of docker plugin available?
      docker-ce
      omv 4.1.8.2 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.9
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!
    • If i activate this and do a refresh at the extensions tab i get this error:

      Display Spoiler

      Source Code

      1. Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; apt-get update 2>&1' with exit code '100': Ign file: InRelease Ign file: Release.gpg Ign file: Release Ign file: Translation-en Hit http://packages.openmediavault.org erasmus InRelease Ign http://ftp.halifax.rwth-aachen.de jessie InRelease Hit http://security.debian.org jessie/updates InRelease Hit http://ftp.halifax.rwth-aachen.de jessie-updates InRelease Get:1 http://httpredir.debian.org jessie-backports InRelease [166 kB] Hit http://ftp.halifax.rwth-aachen.de jessie Release.gpg Hit http://packages.openmediavault.org erasmus/main amd64 Packages Hit http://packages.openmediavault.org erasmus/main i386 Packages Hit http://ftp.halifax.rwth-aachen.de jessie-updates/contrib Sources Hit https://download.docker.com jessie InRelease Hit http://security.debian.org jessie/updates/non-free Sources Hit https://deb.nodesource.com jessie InRelease Get:2 https://download.docker.com jessie/stable amd64 Packages [3604 B] Get:3 http://ftp.halifax.rwth-aachen.de jessie-updates/main amd64 Packages/DiffIndex [11.8 kB] Hit https://downloads.plex.tv ./public InRelease Hit https://deb.nodesource.com jessie/main Sources Hit http://ftp.halifax.rwth-aachen.de jessie-updates/contrib amd64 Packages Ign http://packages.openmediavault.org erasmus/main Translation-en Get:4 https://deb.nodesource.com jessie/main amd64 Packages [1007 B] Get:5 https://downloads.plex.tv ./public/main amd64 Packages [4475 B] Get:6 http://ftp.halifax.rwth-aachen.de jessie-updates/non-free amd64 Packages/DiffIndex [736 B] Get:7 https://deb.nodesource.com jessie/main i386 Packages [1002 B] Get:8 https://dl.bintray.com jessie InRelease Ign https://dl.bintray.com jessie InRelease Get:9 https://downloads.plex.tv ./public/main i386 Packages [4487 B] Hit http://security.debian.org jessie/updates/non-free amd64 Packages Get:10 http://ftp.halifax.rwth-aachen.de jessie-updates/main i386 Packages/DiffIndex [11.8 kB] Get:11 https://deb.nodesource.com jessie/main Translation-en [162 B] Get:12 https://downloads.plex.tv ./public/main Translation-en [471 B] Get:13 https://dl.bintray.com jessie InRelease Ign https://dl.bintray.com jessie InRelease Get:14 https://deb.nodesource.com jessie/main Translation-en [162 B] Hit http://ftp.halifax.rwth-aachen.de jessie-updates/contrib i386 Packages Get:15 https://downloads.plex.tv ./public/main Translation-en [471 B] Get:16 https://deb.nodesource.com jessie/main Translation-en [162 B] Get:17 http://ftp.halifax.rwth-aachen.de jessie-updates/non-free i386 Packages/DiffIndex [736 B] Get:18 https://dl.bintray.com jessie InRelease Ign https://dl.bintray.com jessie InRelease Get:19 https://deb.nodesource.com jessie/main Translation-en [162 B] Get:20 https://downloads.plex.tv ./public/main Translation-en [471 B] Hit http://ftp.halifax.rwth-aachen.de jessie-updates/contrib Translation-en Hit http://security.debian.org jessie/updates/non-free i386 Packages Get:21 https://deb.nodesource.com jessie/main Translation-en [162 B] Ign https://deb.nodesource.com jessie/main Translation-en Get:22 https://dl.bintray.com jessie InRelease Ign https://dl.bintray.com jessie InRelease Get:23 http://ftp.halifax.rwth-aachen.de jessie-updates/main Translation-en/DiffIndex [3688 B] Get:24 https://downloads.plex.tv ./public/main Translation-en [471 B] Get:25 http://httpredir.debian.org jessie-backports/contrib Translation-en [6946 B] Get:26 http://ftp.halifax.rwth-aachen.de jessie-updates/non-free Translation-en/DiffIndex [736 B] Get:27 https://downloads.plex.tv ./public/main Translation-en [471 B] Ign https://downloads.plex.tv ./public/main Translation-en Hit http://ftp.halifax.rwth-aachen.de jessie Release Get:28 http://httpredir.debian.org jessie-backports/main Translation-en [627 kB] Hit http://security.debian.org jessie/updates/non-free Translation-en Hit http://ftp.halifax.rwth-aachen.de jessie-updates/main Sources Hit http://security.debian.org jessie/updates/main Sources Hit http://ftp.halifax.rwth-aachen.de jessie-updates/non-free Sources Hit https://dl.bintray.com jessie Release.gpg Hit http://security.debian.org jessie/updates/contrib Sources Hit http://security.debian.org jessie/updates/main amd64 Packages Hit http://security.debian.org jessie/updates/contrib amd64 Packages Hit https://dl.bintray.com jessie Release.gpg Hit http://security.debian.org jessie/updates/main i386 Packages Get:29 http://httpredir.debian.org jessie-backports/non-free Translation-en [30.2 kB] Get:30 http://httpredir.debian.org jessie-backports/main amd64 Packages [911 kB] Hit https://dl.bintray.com jessie Release.gpg Hit http://security.debian.org jessie/updates/contrib i386 Packages Hit http://ftp.halifax.rwth-aachen.de jessie/main Sources Hit http://ftp.halifax.rwth-aachen.de jessie/main amd64 Packages Hit http://security.debian.org jessie/updates/contrib Translation-en Hit http://ftp.halifax.rwth-aachen.de jessie/main i386 Packages Hit http://security.debian.org jessie/updates/main Translation-en Hit https://dl.bintray.com jessie Release.gpg Hit http://ftp.halifax.rwth-aachen.de jessie/main Translation-en Get:31 http://httpredir.debian.org jessie-backports/contrib amd64 Packages [9628 B] Get:32 http://httpredir.debian.org jessie-backports/non-free amd64 Packages [28.5 kB] Hit https://dl.bintray.com jessie Release Get:33 http://httpredir.debian.org jessie-backports/main i386 Packages [888 kB] Hit https://dl.bintray.com jessie Release Get:34 http://httpredir.debian.org jessie-backports/contrib i386 Packages [9652 B] Get:35 http://httpredir.debian.org jessie-backports/non-free i386 Packages [25.0 kB] Hit https://dl.bintray.com jessie Release Hit https://dl.bintray.com jessie Release Get:36 https://dl.bintray.com jessie/main Translation-en Get:37 https://dl.bintray.com jessie/main Translation-en Get:38 https://dl.bintray.com jessie/main Translation-en Get:39 https://dl.bintray.com jessie/main Translation-en Hit https://dl.bintray.com jessie/main amd64 Packages Hit https://dl.bintray.com jessie/main i386 Packages Get:40 https://dl.bintray.com jessie/main Translation-en Hit https://dl.bintray.com jessie/main amd64 Packages Hit https://dl.bintray.com jessie/main i386 Packages Get:41 https://dl.bintray.com jessie/main Translation-en Hit https://dl.bintray.com jessie/main amd64 Packages Hit https://dl.bintray.com jessie/main i386 Packages Get:42 https://dl.bintray.com jessie/main Translation-en Get:43 https://dl.bintray.com jessie/main Translation-en Get:44 https://dl.bintray.com jessie/main Translation-en Get:45 https://dl.bintray.com jessie/main Translation-en Get:46 https://dl.bintray.com jessie/main Translation-en Get:47 https://dl.bintray.com jessie/main Translation-en Get:48 https://dl.bintray.com jessie/main Translation-en Get:49 https://dl.bintray.com jessie/main Translation-en Get:50 https://dl.bintray.com jessie/main Translation-en Get:51 https://dl.bintray.com jessie/main Translation-en Get:52 https://dl.bintray.com jessie/main Translation-en Ign https://dl.bintray.com jessie/main Translation-en Get:53 https://dl.bintray.com jessie/main Translation-en Ign https://dl.bintray.com jessie/main Translation-en Get:54 https://dl.bintray.com jessie/main Translation-en Ign https://dl.bintray.com jessie/main Translation-en Get:55 https://dl.bintray.com jessie/main Translation-en Ign https://dl.bintray.com jessie/main Translation-en Fetched 2747 kB in 4s (647 kB/s) W: Failed to fetch https://download.docker.com/linux/debian/dists/jessie/InRelease Unable to find expected entry 'stable/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file) E: Some index files failed to download. They have been ignored, or old ones used instead.


    • Epo_Deluxe wrote:

      If i activate this and do a refresh at the extensions tab i get this error:
      There are no 32bit docker packages in docker's repo. I guess I was thinking that omv-extras didn't allow or didn't show the docker repos on that arch but I guess not. So, you will need to use a 64 bit system to use docker.
      omv 4.1.8.2 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.9
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!
    • Hm...

      but i'm using a 64bit System

      Source Code

      1. root@openmediavault ~ > getconf LONG_BIT
      2. 64
      3. root@openmediavault ~ > uname -m
      4. x86_64
      5. root@openmediavault ~ >



      Anyhow, i managed to install the Docker GUI by using the other repo but now i can't pull at docker container for motioneye.

      This is the website which contains the link to motioneye container : Motioneye Container

      If i start the pull with

      Source Code

      1. ccrisan/motioneye
      Nothing happened and i got this at the logfile:

      Source Code

      1. Jun 19 15:02:51 openmediavault dockerd[1863]: time="2018-06-19T15:02:51.357834742+02:00" level=info msg="Attempting next endpoint for pull after error: manifest unknown: manifest unknown"
      2. Jun 19 15:02:51 openmediavault dockerd[1863]: time="2018-06-19T15:02:51.357948666+02:00" level=info msg="Translating \"manifest unknown: manifest unknown\" to \"manifest for ccrisan/motioneye:latest not found\""
      3. Jun 19 15:02:51 openmediavault omv-engined[11240]: Failed to write to socket: Broken pipe
      Is this a problem within my local installation or with image provider?

      Thanks for help
    • Epo_Deluxe wrote:

      Anyhow, i managed to install the Docker GUI by using the other repo but now i can't pull at docker container for motioneye.
      You must have a mutlilib system. You could add [arch=amd64] to the docker repo entry then.
      deb [arch=amd64] https://download.docker.com/linux/debian jessie stable

      Another note... Jessie was EOL'd yesterday. So, I would recommend upgrading to OMV 4.x.
      omv 4.1.8.2 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.9
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!