York
York

Reputation: 83

How to remove docker which was install from binaries?

I installed a docker-ce (version 18.06) in my Ubuntu 16.04 from binary which introduced in this page1.

Now I want to remove it and reinstall docker-ce by apt. But I don't know how to remove it... I just know remove the things which I copy to /usr/bin.. Any other thing should I do?

Thanks!

Upvotes: 0

Views: 2577

Answers (1)

Owen
Owen

Reputation: 919

  • First, stop dockerd: sudo systemctl stop docker
  • Then, remove the docker binaries you've installed. If you copied the binaries to /usr/bin then sudo rm /usr/bin/docker*

Upvotes: 2

Related Questions