# TGL AI BOX - Table of Content [ToC] ## System Configurations #### OS : Ubuntu 20.04.2 LTS #### Kernel : Linux openvino-TGL 5.8.0-44-generic #50~20.04.1-Ubuntu SMP Wed Feb 10 21:07:30 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux #### CPU : 11th Gen Intel(R) Core(TM) i7-1185G7E @ 2.80GHz #### GPU : 00:02.0 VGA compatible controller: Intel Corporation Device 9a49 (rev 01) ## Environment Setup #### Download and Install Ubuntu 20.04.2.0 LTS URL to donwload Ubuntu 20.04.2.0 LTS ISO image: https://ubuntu.com/download/desktop/thank-you?version=20.04.2.0&architecture=amd64 Steps of installing Ubuntu 20.04: https://phoenixnap.com/kb/install-ubuntu-20-04 #### Install docker ``` sudo apt-get remove docker docker-engine docker.io containerd runc sudo apt install curl curl -fsSL https://get.docker.com -o get-docker.sh sudo sh get-docker.sh sudo usermod -aG docker $USER ## Need to logout or reboot to run docker as non-root user docker run hello-world ``` If you see error messages below, reboot your system. ``` openvino@openvino-TGL:~$ docker run hello-world docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create: dial unix /var/run/docker.sock: connect: permission denied. See 'docker run --help'. ``` ## Run Smart City Demo ``` wget -O ~/Downloads/NewVideo2.mp4 https://github.com/incluit/OpenVino-For-SmartCity/raw/master/data/NewVideo2.mp4 docker pull chungyehwangai/openvino docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -v ~/Downloads:/mnt --device /dev/dri:/dev/dri --rm chungyehwangai/openvino:latest /home/openvino/demo.sh ``` ![](https://i.imgur.com/pdg4dA8.jpg)