make a user group for the AAAI

sudo adduser aaai # this also creates the home directory for the user at the location : /home/user/

password:

Giving the sudo permisions

sudo usermod -aG sudo aaai

Installing the Docker to the Ubuntu

My system is ubutu 20.04 i.e. focal

Install Docker Engine on Ubuntu

Download the debian file

Packages are hosted on this server. First go to the docker release note. In my case now i have latest <Docker_version> : 24.0.6 . Next head to the Container github. <Container_version> is 1.7.5

Download with the help of Curl cammand

curl <https://download.docker.com/linux/ubuntu/dists/$>(lsb_release --codename | cut -f2)/pool/stable/$(dpkg --print-architecture)/docker-ce_24.0.6~3-0~ubuntu-focal_amd64.deb -o docker-ce.deb
curl <https://download.docker.com/linux/ubuntu/dists/$>(lsb_release --codename | cut -f2)/pool/stable/$(dpkg --print-architecture)/docker-ce-cli_24.0.6~3-0~ubuntu-focal_amd64.deb -o docker-ce-cli.deb
curl <https://download.docker.com/linux/ubuntu/dists/$>(lsb_release --codename | cut -f2)/pool/stable/$(dpkg --print-architecture)/containerd.io_1.7.5-1_amd64.deb -o containerd.deb
sudo dpkg -i ./containerd.io_<version>_<arch>.deb \\
  ./docker-ce_<version>_<arch>.deb \\
  ./docker-ce-cli_<version>_<arch>.deb \\
  ./docker-buildx-plugin_<version>_<arch>.deb \\
  ./docker-compose-plugin_<version>_<arch>.deb
sudo groupadd docker
sudo usermod -aG docker $USER