Docker files to build and run open5gs in a docker
Docker host machine
- Ubuntu 18.04 and 20.04
SDRs tested with srsLTE eNB
- Ettus USRP B210
- LimeSDR Mini v1.3
- Mandatory requirements:
Clone repository and build base docker image of open5gs
git clone https://github.com/herlesupreeth/docker_open5gs
cd docker_open5gs/base
docker build --no-cache --force-rm -t docker_open5gs .
cd ../ims_base
docker build --no-cache --force-rm -t docker_kamailio .
cd ..
set -a
source .env
docker-compose build --no-cache
docker-compose up
docker-compose -f srsenb.yaml build --no-cache
docker-compose -f srsenb.yaml up
The configuration files for each of the Core Network component can be found under their respective folder. Edit the .yaml files of the components before deploying each of the container
Open (http://<DOCKER_HOST_IP>:3000) in a web browser, where <DOCKER_HOST_IP> is the IP of the machine/VM running the open5gs containers. Login with following credentials
Username : admin
Password : 1423
Using Web UI, add a subscriber
If DOCKER_HOST_IP is properly set to the host running the SGW container, then the following static route is not required. On the eNB, make sure to have the static route to SGWU container (since internal IP of the SGWU container is advertised in S1AP messages and UE wont find the core in Uplink)
ip r add <SGWU_CONTAINER_IP> via <DOCKER_HOST_IP>
- IPv6 usage in Docker