2017-11-07, 19:46
(2017-11-01, 21:39)dan_jericho Wrote:(2017-11-01, 20:53)Milhouse Wrote:(2017-11-01, 11:23)dan_jericho Wrote: Is it possible to set up docker with this build? When I install the addon one of the dependencies "os.libreelec.tv" is unavailable.
Im using the latest nightly.
Are you actually unable to install Docker? I know Kodi claims the dependency is missing, but it's really not... os.libreelec.tv is a built-in addon (which is probably what confuses Kodi).
Yes, it installs. Tho when I try to run a container I get the following error:
This is when trying to run a Portainer container.Code:docker: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "process_linux.go:359: container init caused \"rootfs_linux.go:54: mounting \\\"cgroup\\\" to rootfs \\\"/storage/.kodi/userdata/addon_data/service.system.docker/docker/overlay2/a536891f07d92fec9c96f09e978ae236dac2863a98d87d231043861025dd663e/merged\\\" at \\\"/sys/fs/cgroup\\\" caused \\\"no subsystem for mount\\\"\"".
Code:docker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer
Seems to be related to this issue: https://github.com/LibreELEC/LibreELEC.tv/pull/1452
As a work around for anyone else experiencing issues with docker. Add this volume to the container:
Code:
-v /sys/fs/cgroup:/sys/fs/cgroup:ro