Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 1.04 KB

README.md

File metadata and controls

21 lines (17 loc) · 1.04 KB

How to create an ubuntu container

Run whoami in a terminal and verify that it returns your username. Then run these commands on the host:

mkdir ~/scratch/ # directory that will be passed through to containers
sudo apt install docker.io # install docker
./build-image.sh
./create-container.sh <container name>
./enter-container.sh # after this step, we are inside the container
  • The command to launch radiant is: LM_LICENSE_FILE=~/license.dat ~/lscc/radiant/2022.1/bin/lin64/radiant.
  • If python3 --version returns python 3.8 (which can cause issues building source code), update the symbolic link to point to a more recent version of python3 with:
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 1
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 2
sudo update-alternatives --config python3
  • If /dev devices are not being passed-through to the container, you might need to disable apparmor.