docker-archive / classicswarm

Swarm Classic: a container clustering system. Not to be confused with Docker Swarm which is at https://github.com/docker/swarmkit
Apache License 2.0
5.75k stars 1.08k forks source link

Please help me ....................................What is alternative method to get discover token for docker-machine swarm ????? #2972

Closed nethjai closed 4 years ago

nethjai commented 4 years ago

When run the below command got the error , $ docker run swarm create

2020/02/04 17:54:04 Post https://discovery.hub.docker.com/v1/clusters: dial tcp: lookup discovery.hub.docker.com on 169.254.169.254:53: no such host

Is their any alternative method for creating discovery method to Discovery token for docker-machine swarm ???

Even in docker documentation they had mentioned token command , here my question is without getting the token, how we can create ????????????????????

docs link https://docs.docker.com/machine/reference/create/#specifying-docker-swarm-options-for-the-created-machine

justincormack commented 4 years ago

The classic swarm discovery service has been shut down. You can use static files, or etcd, but I recommend you use swarm mode in the Docker engine that replaced classic swaem instead.