OS: Ubuntu 16.04
Docker version: 1.11.2
I have already installed docker 1.11.2 on my Ubuntu and I want to upgrade it to 1.12. All the steps are as follows:
I download the deb pkg named
docker-engine_1.12.3-0~xenial_amd64
.Execute command:
dpkg -i docker-engine_1.12.3-0~xenial_amd64
but notes with errors:docker-engine conficts with docker.io.docker.io (version 1.11.2-0ubuntu5~16.04) has already been installed .
So I have to remove docker first by using commands as below:
service docker stop apt-get remove docker apt-get remove --auto-remove docker rm -rf /var/lib/docker
Go to step 2, but with the same errors.
So, I hope someone would help me solve this problem.