In order to run ns3sionna inside docker do:
- Build the container image:
sudo docker build -t ns3sionna:latest .
- Create and start a new container from an image:
sudo docker run -it --gpus all -e NVIDIA_DRIVER_CAPABILITIES=all --name ns3sionna-container ns3sionna:latest
Note: you need to have GPU drivers installed on the host.
- Start the existing container:
sudo docker start -ai ns3sionna-container
Inside the container you need to source the Python env:
source /opt/sionna-venv/bin/activate
- To connect a second terminal:
sudo docker exec -it ns3sionna-container /bin/bash