Error after updating docker

0 votes

I updated docker to 1.1.01 and keep getting the following error:

Error response from daemon: client and server don't have same version (client : 1.13, server: 1.12)
Jan 8, 2019 in Docker by Ali
• 11,360 points
864 views

1 answer to this question.

+1 vote
Best answer

Hey @Ali, try switching to 1.0.1 and let me know if you're still getting this error. You get this error when you've updated your docker but not your services. So the easiest solution is to downgrade your docker version. You can also update your services.

Restart your services

service docker restart
answered Jan 8, 2019 by Vikas

selected Jan 8, 2019 by Kalgi
Yeah I do not see the error anymore. Thanks
Why does this error occur though?
You get this error when you've updated your docker but not your services. So the easiest solution is to downgrade your docker version. You can also update your services.
Hey @Vikas, edit your answer with the above explanation for a better understanding of other readers. Thank you
@kalgi @vikas,  So what if i don't want to downgrade my Docker? How will i update my services with this version itself?

Hey @Vardhan, If you don't want to downgrade your docker, you upgrade your services using the docker service update command

syntax:

docker service update service-name
Thanks for the reply. I've another doubt:-
Will updating services lead to re-initializing of running services in the cluster or does something else happen? I just want a little more clarity in this concept.

Related Questions In Docker

+6 votes
4 answers

Error: Docker saying "bad file descriptor"

The solution was easy enough. Add these ...READ MORE

answered Mar 27, 2018 in Docker by DragonLord999
• 8,450 points
6,557 views
0 votes
1 answer

Error “unable to resolve host docker”

This error occurs because its not a ...READ MORE

answered Jul 10, 2018 in Docker by Kalgi
• 2,680 points
4,604 views
0 votes
1 answer
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,090 points
2,436 views
0 votes
1 answer

How to install Docker on CentOS?

Hey @Dishant, follow these steps to install ...READ MORE

answered Feb 27, 2019 in Docker by Avinash
857 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP