aligungr / UERANSIM

Open source 5G UE and RAN (gNodeB) implementation.
GNU General Public License v3.0
760 stars 315 forks source link

how use ueransim in docker #609

Open iamyz opened 1 year ago

iamyz commented 1 year ago

hi,i want use docker to use ueransim,but i dont know weather it can be successful and how to do. there is somebady can help me?

aviweit commented 1 year ago

Hi, free5gc has an all in one docker containerized environment including ueransim. You can look into free5gc docker compose project: https://github.com/free5gc/free5gc-compose and refer to ueransim folder to see how it get built. docker-compose.yaml defines the all in one environment. Hope it helps.

kunal14kapoor commented 10 months ago

Hi aviweit, we have containerized the UERANSIM using docker to run it with Aether-OnRamp. While doing this, we were able to get the containers up and the ngsetup request is successful but the UE is unable to attach as the tunnel interface that it is creating gets failed throwing an error : "TUN allocation failure [ioctl(TUNSETIFF) Operation not permitted]". We have tried with docker run --privileged to run the container still getting the same issue. Any inputs on this would be really helpful.