원래 명령이 sudo apt install docker.io이므로 Ubuntu 저장소에서 가져온 것이기 때문에 docker도 업데이트되어야 합니다.
sudo apt install docker.io