#How to Install Docker in 2022

So, assuming that you only need the CLI, don’t need the K8s, you should just follow the guide here:

https://docs.docker.com/engine/install/ubuntu/

Avoid the snap as it has issues with outbound access from running containers.