Error starting Docker swarm in no internet zone


While I am trying to run docker swarm standalone in the private cloud it is trying to connect to Internet.
Downloaded the swarm image and copied it to the docker daemon that is not connected to internet zone. Tried to follow the documentation at But getting the below error

Command: docker run swarm create

Error: 2018/10/17 07:29:22 Post dial tcp: lookup
discovery.hub.docker. com on server misbehaving

Any help is much appreciated.