Daffan / ros_jackal

ROS-Jackal environment for RL
MIT License
28 stars 6 forks source link

user namespace error when trying test_env.py #10

Closed msjun23 closed 4 months ago

msjun23 commented 4 months ago

Hi! I'm trying to reproduce your work with a Docker environment.

I'm sure that I set the workspace and configurations correctly.

But when I try the command below,

./singularity_run.sh ./local_buffer/nav_benchmark.sif python3 test_env.py

I get the following error:

INFO:    Converting SIF file to temporary sandbox...
FATAL:   while handling ./local_buffer/nav_benchmark.sif: while extracting image: root filesystem extraction failed: extract command failed: ERROR  : Failed to create user namespace: user namespace requires to set /proc/sys/kernel/unprivileged_userns_clone to 1
: exit status 1

How can I fix this FATAL error?

Thank you for your attention!

msjun23 commented 4 months ago

It seems to be an issue with Docker. When I tried the same process locally, there was no problem. I think running a Singularity container inside a Docker container is causing the issue. I'll close this issue.