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