discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] [Docker] New GNU Radio images with GUI support


From: Nick Foster
Subject: Re: [Discuss-gnuradio] [Docker] New GNU Radio images with GUI support
Date: Thu, 07 Apr 2016 23:00:53 +0000

On Thu, Apr 7, 2016, 3:48 PM Ben Hilburn <address@hidden> wrote:

What was your experience like when it came to using the RTL dongle? Was there any complexity there? If you have hardware that can stream at higher rates, I'd be interested in how those perform in the container, as well.

Performance is, for all intents and purposes, unaffected. Network performance may be very slightly affected by the virtual network device. If your application is very sensitive, just use the "--net host" option when invoking the container.

I have benchmarked X310 performance using the "--net host" option and gotten effectively identical results inside a container vs. running natively. I do not consider Docker containers to affect performance in any way.

--n



On Wed, Apr 6, 2016 at 4:23 AM, Stefan Wunsch <address@hidden> wrote:
Hi all!

I have build a docker tool-chain for an image with GNU Radio and UHD
installed via PyBOMBS on top of Ubuntu. It's even possible to run it
dockerized with a GUI using VNC and it should work as well on windows
and mac (so far, not tested). The build files are available on github
and the precompiled images on hub.docker.com. If you are interested,
have a look! In the following, I will give a short description.

How to run the image with VNC server and how to access the container:

# Run the image with GNU Radio and VNC server:
# The run command will download (pull) the image automatically.
# Use the additional option '-device=/dev/bus/usb' for USB access,
# e.g., to use rtl dongles. You have to plugin the devices before you
# start the container!

$ docker run -it --rm -p 5901:5901 -e USER=root \
stwunsch/docker-pybombs-gnuradio-vnc bash -c \
"vncserver :1 -geometry 1280x800 -depth 24 && tail -F /root/.vnc/*.log"

# Get graphical access using a VNC client. I suppose you are running
# the container on the same machine. Here an example command using
# vncviewer. As well, it's possible to use X forwarding.

$ vncviewer localhost:5901

So far, it's only tested on a Linux machine, but it should work on every
system with an installed docker daemon. I was able to run a rtl dongle
with gr-osmosdr. To install new OOTs, just open a terminal and type, for
example, 'pybombs install gr-osmosdr'.

Here, the image chain. You can pull these images from hub.docker.com.
All images are build automatically on change of the appropriate GitHub
repository (except the GNU Radio base image, see below for more info on
that).

Base-image: ubuntu 14.04
-> ubuntu + pybombs (stwunsch/docker-pybombs)
-> ubuntu + pybombs + uhd (stwunsch/docker-pybombs-uhd)
-> ubuntu + pybombs + uhd + gnuradio dependencies
(stwunsch/docker-pybombs-gnuradio-depsonly)
-> ubuntu + pybombs + uhd + gnuradio (stwunsch/docker-pybombs-gnuradio)
-> ubuntu + pybombs + uhd + gnuradio + vnc server
(stwunsch/docker-pybombs-gnuradio-vnc)

A single problem so far: It is not possible to build the GNU Radio image
(docker-pybombs-gnuradio) on the docker servers, because they have a 2h
build limitation. I have preinstalled everything (pybombs and all
dependencies), but it is not possible to run the compilation below 2h on
a single core.

Does anyone know whether it's possible to split the compilation or speed
it up (without using the -jX flag)? Now the image has to be build
locally and then pushed to hub.docker.com manually. Not the best solution!

I would be highly interested whether it really works on other systems,
especially on windows! That could be a nice alternative to MSVC
compilations.

Greetings
Stefan

_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

reply via email to

[Prev in Thread] Current Thread [Next in Thread]