0

3 つの ubuntu インスタンスで UPC クラスターを正常に実行できました。

docker-machineまたはdocker swarm manageの docker swarm 環境にアクセスしたいのですが、アクセスできません。最も近いのは、汎用ドライバーを使用してdocker -machineを介してマシンを追加することですが、 --swarmパラメーターを使用してこれを追加しようとすると、マシンが Docker Swarm クラスターに属していないことがわかります。

やりたいことは、UPC (Universal Control Panel)で作成した Docker Swarm Cluster 内でコマンドを実行することです。

4

1 に答える 1

0

I found the solution right here, https://github.com/docker/ucp_lab at the end of this lab. You just need to follow a few steps:

  1. Navigate to your UCP server in your web browser
  2. In the upper right corner click admin and choose Profile
  3. Click Create a Client Bundle.
  4. Navigate to where the bundle was downloaded, and unzip the client bundle.

    $ unzip bundle.zip

  5. Change into the directory that was created when the bundle was unzipped

  6. Execute the env.sh script to set the appropriate environment variables for your UCP deployment

    $ source env.sh

  7. Run

    docker info

    to examine the configuration of your Docker Swarm. Your output should show that you are managing the swarm vs. a single node.

于 2015-12-29T01:12:40.953 に答える