This image allows to run the BKG Ntrip Client
839
This image allows to run the BKG Ntrip Client
Install the X11 server utilities in the host machine:
apt-get install x11-xserver-utilsapt-get install x11-xserver-utilspacman -S xorg-xhostapt-get install x11-xserver-utilsyum install xorg-xhostdnf install xorg-xhostapt-get install x11-xserver-utilsEach time you want to use the graphical environment, adjust the permission of the X server in the host by the following command:
$ xhost +local:root
Then run the container with:
$ sudo docker run -e DISPLAY=$DISPLAY -v $HOME/.Xauthority:/root/.Xauthority \
--net=host -it --rm -d carlesfernandez/bnc
In case you want to revoke the granted permission:
$ xhost -local:root
Do this once:
Each time you want to use the graphical environment, type in the host machine (with XQuartz already running):
$ xhost + 127.0.0.1
Then run the container with:
$ docker run -e DISPLAY=host.docker.internal:0 -v $HOME/.Xauthority:/root/.Xauthority \
--net=host -it --rm -d carlesfernandez/bnc
The container has the /inputs and /outputs folders, that can be mounted to
local folders when instantiating the image, e.g.:
$ sudo docker run -e DISPLAY=$DISPLAY -v $HOME/.Xauthority:/root/.Xauthority \
-v $MY_INPUT_FOLDER:/inputs \
-v $MY_OUTPUT_FOLDER:/outputs \
--net=host -it --rm -d carlesfernandez/bnc
The BKG Ntrip Client (BNC) manual is available by doing:
$ sudo docker run -e DISPLAY=$DISPLAY -v $HOME/.Xauthority:/root/.Xauthority \
--net=host -it --rm -d carlesfernandez/bnc evince bnchelp.pdf
This step is not needed if you have pulled the docker image. If you want to build the Docker image on your own, go to the repository root folder and run the following command:
$ docker build -t carlesfernandez/bnc .
You can change the tag name carlesfernandez/bnc at your own
preference.
Content type
Image
Digest
Size
253.9 MB
Last updated
over 4 years ago
docker pull carlesfernandez/bnc