How can I remotely connect to docker swarm?

前端 未结 4 827
谎友^
谎友^ 2020-12-31 07:30

Is it possible to execute commands on a docker swarm cluster hosted in cloud from my local mac? If yes, how?

I want to execute command such as following on docker sw

4条回答
  •  心在旅途
    2020-12-31 08:03

    If you start from scratch, you can create the manager node using a generic docker-machine driver. Afterwards you will be able to connect to that docker engine from your local machine with the help of docker-machine env command.

提交回复
热议问题