Re: getting rid of every trace of docker from fedora 29 for re-install?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/25/19 6:38 AM, Jon LaBadie wrote:
> On Thu, Jan 24, 2019 at 06:46:23AM -0500, Robert P. J. Day wrote:
>>   as part of an intro tutorial i'm writing, i want to provide a recipe
>> for installing docker-ce on fedora 29 from absolute scratch, and part
>> of that will involve how to first get rid of every trace of any old
>> docker- or container-related stuff.
>>
>>   if one has no interest in preserving old containers, i'm proposing
>> running (as sudo, naturally):
>>
>>   $ dnf remove "*docker*"
>>   $ rm -rf /var/lib/{containerd,docker,docker-engine}
>>
>> i'm fairly sure that's overkill, but the point is to simulate truly
>> starting from scratch. the above *seems* to work, is there any reason
>> it would cause problems before i kick in with installing the proper
>> yum repo file and running:
>>
>>   $ dnf install docker-ce
>>
>>   thoughts?
> After running your "dnf remove" and "rm -rf" commands
> run "# locate docker".  There may be config files
> left behind or other cruft in home dirs.

Before running "locate" you should run "updatedb".

-- 
Right: I dislike the default color scheme Wrong: What idiot picked the default color scheme
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux