Docker plugin on raspberry pi 2 - cannot use shared folder as Docker base path

    • Docker plugin on raspberry pi 2 - cannot use shared folder as Docker base path

      Hi, I moved to a fresh omv 4 sd running in a raspberry pi 2 B.
      I installed Docker plugin, created a dedicated share folder for "docker_base_path" but when I save I have this error:


      Source Code

      1. Error #0:
      2. OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; export LANG=C; mount -o bind,defaults /srv/dev-disk-by-label-TOSHIBA 1TB/Docker_base /var/lib/docker/openmediavault 2>&1' with exit code '1':
      3. Usage:
      4. mount [-lhV]
      5. .......
      6. For more details see mount(8). in /usr/share/php/openmediavault/system/process.inc:182
      7. Stack trace:
      8. #0 /usr/share/omvdocker/Utils.php(642): OMV\System\Process->execute()
      9. #1 /usr/share/openmediavault/engined/rpc/docker.inc(1205): OMVModuleDockerUtil::changeDockerSettings(Array, 42005, '/srv/dev-disk-b...')
      10. #2 [internal function]: OMVRpcServiceDocker->setSettings(Array, Array)
      11. #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      12. #4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('setSettings', Array, Array)
      13. #5 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Docker', 'setSettings', Array, Array, 1)
      14. #6 {main}
      Display All
      I removed the "man" help section.
      The full log is there: link

      I want to move the folder where docker stores images to a usb attached device. Is the docker_base_path folder the right setting?
    • Users Online 1

      1 Guest