Docker-machine with swarm pb

I cannot use docker-machine with docker swarm

this is the error

root@XXXX-04:~# eval $(docker-machine env --swarm XXXX-01)
Error checking TLS connection: Connection to Swarm cannot be checked but the certs are valid. Maybe swarm is not started

I just want to deploy with docker-compose on the node master XXXX-01 to deploy in the swarm

can you help ? thanks

this is the configuration

i deploy in vms in xen server 7.0

does anyone have any suggestion ?