Skip to content

tgharib/ubuntu-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published