On Thu, 24 Jan 2019, 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.

If the computer has LVM partions it is probably worth checking that the 
docker-pool thin pool has been deleted, as docker can use this if there is 
space in LVM, and I don't know if uninstalling docker is enough to remove 
it.

        Michael Young
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org

Reply via email to