Can't run docker images. Error like \\\"not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)?

  • Hi! I'm new to docker and not really that experienced in OMV, so I'm out of my witts here.


    Whenever I try to start a docker image (so far I've tried Plex, Emby, JellyFin), I get an error similar to this:


    Code
    Error #0: OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; docker run -d --restart=always --privileged -v /etc/localtime:/etc/localtime:ro --net=host -e PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" -e ASPNETCORE_URLS="http://+:80" -e DOTNET_RUNNING_IN_CONTAINER="true" -e DOTNET_VERSION="3.0.0-preview4-27615-11" -v "/sharedfolders/6TBroot/AppData/JellyFin/Cache":"/cache":rw -v "/sharedfolders/6TBroot/JellyFin":"/config":rw --name="Jellyfin" "jellyfin/jellyfin:latest" 2>&1' with exit code '125': 2185f0d47f03af236add13e4c4369b491d18a8c905e35f5cf4f9b7581130d803 
    docker: Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "process_linux.go:430: container init caused \"rootfs_linux.go:58: mounting \\\"/etc/localtime\\\" to rootfs \\\"/var/lib/docker/overlay2/c396a12894dfd8d8b85aa65ad4aa5dbed5fe0200f00aa4f8f461938292e0aecc/merged\\\" at \\\"/var/lib/docker/overlay2/c396a12894dfd8d8b85aa65ad4aa5dbed5fe0200f00aa4f8f461938292e0aecc/merged/usr/share/zoneinfo/UTC\\\" caused \\\"not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type. in /usr/share/php/openmediavault/system/process.inc:182 
    Stack trace: 
    #0 /usr/share/openmediavault/engined/rpc/docker.inc(607): OMV\System\Process->execute() 
    #1 [internal function]: OMVRpcServiceDocker->runContainer(Array, Array) 
    #2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array) 
    #3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('runContainer', Array, Array) 
    #4 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Docker', 'runContainer', Array, Array, 1) 
    #5 {main}

    The system is a pretty fresh installation. Time zone and locales have been changed to CEST/de_DE.UTF-8.


    System:
    RockPro64
    OMV: 4.1.23-1
    Linux media 4.4.167-1213-rockchip-ayufan-g34ae07687fce #1 SMP Tue Jun 18 20:44:49 UTC 2019 aarch64
    Debian 9.9


    Docker:



    Help is much appreciated!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!