Open SonicFM opened 2 years ago
The problem is that when using namespace remapping the container has no way to access outside of its uid/gid range as defined in /etc/subuid
and /etc/subgid
.
To access the docker socket that we mount in the container the container must have access to the docker
group on the host.
For example podman supports --uidmap
. This would allow us to tell the daemon to use subordinate ids for everything but the docker
group. Docker does not seem to support this, so sadly this won't work.
As wished in https://github.com/fkie-cad/FACT_docker/issues/22 here is the issue to track the mentioned Problem down.
I am using Docker namespace remapping. I was able to solve the issues within the containers that are in the docker-compose.yml by adding " userns_mode: "host" " for each container as far as I could observe so far.
However, start.py loads the fact extraction container, but this fails because it seems to start without the "userns_mode: "host" " parameter. See also https://github.com/fkie-cad/FACT_core/issues/794. This looks very much like the same problem.
Maybe modifying the file metioned in https://github.com/fkie-cad/FACT_core/issues/794 could help?!
I will need to setup Namespace-Remapping on my non-dockerized FACT, than i could try and hopefully get any new information. I'll report back as soon as i can.
Thanks again!