Using ubuntu docker image for mininet-wifi instead of ubuntu linux

174 views
Skip to first unread message

mohammad rostami

unread,
Jul 19, 2022, 4:45:14 AM7/19/22
to mininet-wifi-discuss
Dear Ramon,

I'm trying to create a Docker Image based on Ubuntu Linux and install Mininet WiFi. My goal is to run mininet-wifi codes with Windows 10 and not use the Ubuntu virtual machine anymore. Because of my hardware performance, writing and running code within virtual machines is hard. It is always hung and freezing like hell!

Here is my Dockerfile:
# mininet-wifi-Docker-image
FROM ubuntu: 18.04

# install update 
RUN apt-get update

RUN apt install sudo tasksel -y
USER root
RUN sudo apt-get install -y python

# install mininet-wifi
RUN apt-get install -y git
RUN git clone https://github.com/intrig-unicamp/mininet-wifi
RUN cd mininet-wifi
RUN sudo util/install.sh -Wlnfv

Everything went fine, except for the openvswitch-controller. There is a warning saying that "unable to locate the openvswitch-controller". but instead of the openvswitch-controller, it installs the openvswitch-testcontroller as below:

sudo apt-get install openvswitch-testcontroller
sudo cp /usr/bin/ovs-testcontroller /usr/bin/ovs-controller

However, after running examples such as "python telemetry.py" I faced a freezing screen and nothing happened.

qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq.jpg

I also have a second question. Is it possible to install and run sumo in the Ubuntu Docker image?

Thank you so much.

Best Regards,
Mohammad Rosatami

Ramon Fontes

unread,
Jul 19, 2022, 4:58:45 AM7/19/22
to mohammad rostami, mininet-wifi-discuss
Mininet-wifi doesn't work on Windows. Kernel maintained by Microsoft is not the same as those used by the Linux systems.

--
You received this message because you are subscribed to the Google Groups "mininet-wifi-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mininet-wifi-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mininet-wifi-discuss/e5f31d8d-c05d-4a1c-b3d9-bc20d63b08b4n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages