Sounds simple, but faced some irritating issues, so wanted to note things down, in case it helps.
Note: please look at my answer to find out how these below issues were fixed
Issues faced:
-
Not understanding which guide to use from the official docker manuals
-
Not able to install dependencies:
E: Unable to locate package docker-ce-cli
E: Unable to locate package containerd.io
E: Couldn't find any package by glob 'containerd.io'
E: Couldn't find any package by regex 'containerd.io'
E: Unable to locate package docker-buildx-plugin
E: Unable to locate package docker-compose-plugin
- Not Able to run docker using normal user (only sudo was working)
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.45/containers/json?all=1": dial unix /var/run/docker.sock: connect: permission denied