install docker using apt code example Example: apt install docker $ sudo apt-get remove docker docker-engine docker.io containerd runc