atyenoria / janus-webrtc-gateway-docker

Perfect Docker Image for Media Streaming Expert User ( https://github.com/meetecho/janus-gateway )
687 stars 200 forks source link

Is it possible to build the image with cgroup2? #57

Closed kirillt closed 4 years ago

kirillt commented 4 years ago

Hi, I am trying to build the image on Fedora 31, which now is using cgroup2 by default. Docker apparently doesn't support cgroup2 yet, but Podman (rootless docker) does. However, when I run the build process using podman, it fails on the step 42. acer-fedora-20200427-014948-473359882

Is it possible to adjust the Dockerfile to be able to build with Podman and cgroup2?

kirillt commented 4 years ago

Apparently, this error is not related to cgroup2. Should work with podman build --format=docker.

kirillt commented 4 years ago

Confirm, podman build --format=docker and commenting out this stuff:

SHELL ["/bin/bash", "-l", "-euxo", "pipefail", "-c"]
RUN node -v
RUN npm -v

gives me working image.