# Install docker and create a container
sudo apt install -y docker.io
sudo docker pull ubuntu:18.04
# create a container, bind folder ~/licheepi on the host side to /root inside the container
sudo docker start -ti -v ~/licheepi:/root ubuntu:18.04 /bin/bash
sudo docker start -i <container name>
Copy /etc/inputrc
from host to container
Run in container:
cp /etc/skel/.bashrc ~
chmod +x /etc/profile.d/bash_completion.sh
apt-get install -y bash-completion
Comment out all in: /etc/apt/apt.conf.d/docker-clean
and then pt update
https://askubuntu.com/questions/735189/enabling-auto-completion-for-apt-get-install-in-docker-ubuntu-14-04/1026978#1026978
https://askubuntu.com/questions/86375/apt-get-autocomplete-package-name-is-broken \
apt install -y sudo nano wget curl git python \
gcc-arm-linux-gnueabi gcc-arm-linux-gnueabihf\
make gcc binutils patch build-essential libssl-dev bc\
flex bison gawk libncurses5-dev gettext autoconf texinfo