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