Remove Https //[better] Download.docker.com/linux/ubuntu May 2026

grep -r "download.docker.com" /etc/apt/sources.list /etc/apt/sources.list.d/ Use code with caution.

Are you removing the repository because of a (like a 404 or GPG error), or are you performing a full system cleanup ? Ask Ubuntu apt - Remove Docker's PPA repository - Ask Ubuntu remove https //download.docker.com/linux/ubuntu

Typically stored in /usr/share/keyrings/ or /etc/apt/keyrings/ . grep -r "download

sudo apt purge docker-ce docker-ce-cli containerd.io . remove https //download.docker.com/linux/ubuntu

sudo rm -rf /var/lib/docker and sudo rm -rf /etc/docker .

The output will show you the filename and the specific line. 2. Remove the Repository Using the Command Line