User Tools

Site Tools


using_docker_containers

**This is an old revision of the document!**

Using docker containers

Current conventions for the GNURadio images provided by CorteXlab

  • These images are listed here
  • In these images, the “CorteXlab toolchain” is installed in /cortexlab/toolchain/current. “CorteXlab toolchain” means all radio related software, such as GNURadio, drivers, plugins, custom libraries. The advantage is that there is a clean and clear separation between linux-distribution provided software, and software explicitely built by our Dockerfiles. The drawback is that the environment needs to be correctly set for the toolchain to work, and that if you want to add custom libraries or GNURadio out of tree modules, it's better to install them in /cortexlab/toolchain/current as well
  • to set the environment correctly for the CorteXlab toolchain to be seen, the script /cortexlab/toolchains/current/bin/cxlb-toolchain-user-conf needs to be sourced. For an interactive bash session, this is done automatically because a link to this script is added in /etc/profile.d/, but for minus scenarios, there's a trap: when docker executes a command in a container, it does not automatically runs the command inside a shell, thus the environment is not be automatically setup. In this case, the workaround, in the minus scenario (in the command: entry) is to execute bash -lc "<actual command to run>"
using_docker_containers.1693494973.txt.gz · Last modified: 2023/08/31 17:16 by mimbert

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki