Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change docker engine ID? #13278

Closed
quickwind opened this issue May 16, 2015 · 5 comments
Closed

How to change docker engine ID? #13278

quickwind opened this issue May 16, 2015 · 5 comments

Comments

@quickwind
Copy link

@quickwind quickwind commented May 16, 2015

We have a ESXi env, and we setup one VM and installed docker, then we clone it into multiple VMs, but we found the docker engine ID is the same for all the docker engines, and couldn't find a way to change it. This prevents us to use swarm to create cluster properly. Anything we missed?

docker info output:

Containers: 12
Images: 251
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 435
Execution Driver: native-0.2
Kernel Version: 3.16.0-30-generic
Operating System: Ubuntu 14.04.2 LTS
CPUs: 2
Total Memory: 15.67 GiB
Name: xxxxx
ID: 33Z5:BE33:KSMC:S4GY:GRDO:EH5E:5T7G:GNHG:ENHZ:XRBE:ANQB:SBSV

@devinwatkins
Copy link

@devinwatkins devinwatkins commented May 17, 2015

I ran into something similar. I was able to fix this by deleting our docker key.json file then restarting the daemon. For me the file was in /etc/docker/key.json

@quickwind
Copy link
Author

@quickwind quickwind commented May 17, 2015

Thanks @devinwatkins , it works for me:) Closing the issue...

@quickwind quickwind closed this May 17, 2015
@icebob
Copy link

@icebob icebob commented Nov 9, 2015

Great! Thank you @devinwatkins !

@semad
Copy link

@semad semad commented Jun 7, 2016

Thank you @devinwatkins !

@KuaJnio
Copy link

@KuaJnio KuaJnio commented Nov 22, 2017

Thank you @devinwatkins for the answer, didn't know how the ID was generated, i guess i must have cloned my SD card and forgot that

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants