Creating this one to add few details to use docker in Ubuntu
Installation
sudo apt update
sudo apt install docker.io
docker version
Client:
Version: 24.0.5
API version: 1.43
Go version: go1.20.3
Git commit: 24.0.5-0ubuntu1~20.04.1
Built: Mon Aug 21 19:50:14 2023
OS/Arch: linux/amd64
Context: default
permission denied while trying to
connect to the Docker daemon socket at unix:///var/run/docker.sock:
Creating this one to add few details to use docker in Ubuntu
https://www.howtoforge.com/tutorial/how-to-create-docker-images-with-dockerfile/
https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user
References