Join Docker swarm manager












0















I user docker for Windows 10 and I try to use swarm, but I can't add a worker to the sarm.
I manage to create a manager like this :




docker swarm init --advertise-addr my-ip-addr:2377




Then I have this answer :




Swarm initialized: current node (uv8kzentx6jugl855a26e5qad) is now a
manager.



To add a worker to this swarm, run the following command:



docker swarm join --token SWMTKN-1-4ff8ldvzoasrbq0iprugdb5owqrzx5chyudbm7uu4r11t6dz0i-6om1gepq4yqm1s70a6gq75qtr


my-ip-addr:2377



To add a manager to this swarm, run 'docker swarm join-token manager'
and follow the instructions.
Then , from my remote machine ( in the same network than the manager) I run the following command :




docker swarm join --token SWMTKN-1-4ff8ldvzoasrbq0iprugdb5owqrzx5chyudbm7uu4r11t6dz0i-6om1gepq4yqm1s70a6gq75qtr my-ip-addr:2377


But I have this issue:




Error response from daemon: Timeout was reached before node joined.
The attempt to join the swarm will continue in the background. Use the
"docker info" command to see the current swarm status of your node.




Why do I have this issue ? What should I do ?



thanks in advance










share|improve this question























  • I assume the node host can see the manager host?

    – Foxhound
    Nov 21 '18 at 1:21













  • How can I verify that ? thanks

    – Camilledhn
    Nov 21 '18 at 16:17











  • Run ping your-docker-host-ip from the node that you want to join.

    – Odyssee
    Nov 22 '18 at 6:44











  • Yes the node can see the manager host

    – Camilledhn
    Nov 26 '18 at 19:25
















0















I user docker for Windows 10 and I try to use swarm, but I can't add a worker to the sarm.
I manage to create a manager like this :




docker swarm init --advertise-addr my-ip-addr:2377




Then I have this answer :




Swarm initialized: current node (uv8kzentx6jugl855a26e5qad) is now a
manager.



To add a worker to this swarm, run the following command:



docker swarm join --token SWMTKN-1-4ff8ldvzoasrbq0iprugdb5owqrzx5chyudbm7uu4r11t6dz0i-6om1gepq4yqm1s70a6gq75qtr


my-ip-addr:2377



To add a manager to this swarm, run 'docker swarm join-token manager'
and follow the instructions.
Then , from my remote machine ( in the same network than the manager) I run the following command :




docker swarm join --token SWMTKN-1-4ff8ldvzoasrbq0iprugdb5owqrzx5chyudbm7uu4r11t6dz0i-6om1gepq4yqm1s70a6gq75qtr my-ip-addr:2377


But I have this issue:




Error response from daemon: Timeout was reached before node joined.
The attempt to join the swarm will continue in the background. Use the
"docker info" command to see the current swarm status of your node.




Why do I have this issue ? What should I do ?



thanks in advance










share|improve this question























  • I assume the node host can see the manager host?

    – Foxhound
    Nov 21 '18 at 1:21













  • How can I verify that ? thanks

    – Camilledhn
    Nov 21 '18 at 16:17











  • Run ping your-docker-host-ip from the node that you want to join.

    – Odyssee
    Nov 22 '18 at 6:44











  • Yes the node can see the manager host

    – Camilledhn
    Nov 26 '18 at 19:25














0












0








0








I user docker for Windows 10 and I try to use swarm, but I can't add a worker to the sarm.
I manage to create a manager like this :




docker swarm init --advertise-addr my-ip-addr:2377




Then I have this answer :




Swarm initialized: current node (uv8kzentx6jugl855a26e5qad) is now a
manager.



To add a worker to this swarm, run the following command:



docker swarm join --token SWMTKN-1-4ff8ldvzoasrbq0iprugdb5owqrzx5chyudbm7uu4r11t6dz0i-6om1gepq4yqm1s70a6gq75qtr


my-ip-addr:2377



To add a manager to this swarm, run 'docker swarm join-token manager'
and follow the instructions.
Then , from my remote machine ( in the same network than the manager) I run the following command :




docker swarm join --token SWMTKN-1-4ff8ldvzoasrbq0iprugdb5owqrzx5chyudbm7uu4r11t6dz0i-6om1gepq4yqm1s70a6gq75qtr my-ip-addr:2377


But I have this issue:




Error response from daemon: Timeout was reached before node joined.
The attempt to join the swarm will continue in the background. Use the
"docker info" command to see the current swarm status of your node.




Why do I have this issue ? What should I do ?



thanks in advance










share|improve this question














I user docker for Windows 10 and I try to use swarm, but I can't add a worker to the sarm.
I manage to create a manager like this :




docker swarm init --advertise-addr my-ip-addr:2377




Then I have this answer :




Swarm initialized: current node (uv8kzentx6jugl855a26e5qad) is now a
manager.



To add a worker to this swarm, run the following command:



docker swarm join --token SWMTKN-1-4ff8ldvzoasrbq0iprugdb5owqrzx5chyudbm7uu4r11t6dz0i-6om1gepq4yqm1s70a6gq75qtr


my-ip-addr:2377



To add a manager to this swarm, run 'docker swarm join-token manager'
and follow the instructions.
Then , from my remote machine ( in the same network than the manager) I run the following command :




docker swarm join --token SWMTKN-1-4ff8ldvzoasrbq0iprugdb5owqrzx5chyudbm7uu4r11t6dz0i-6om1gepq4yqm1s70a6gq75qtr my-ip-addr:2377


But I have this issue:




Error response from daemon: Timeout was reached before node joined.
The attempt to join the swarm will continue in the background. Use the
"docker info" command to see the current swarm status of your node.




Why do I have this issue ? What should I do ?



thanks in advance







docker docker-swarm powershell-remoting






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 21 '18 at 1:17









CamilledhnCamilledhn

11




11













  • I assume the node host can see the manager host?

    – Foxhound
    Nov 21 '18 at 1:21













  • How can I verify that ? thanks

    – Camilledhn
    Nov 21 '18 at 16:17











  • Run ping your-docker-host-ip from the node that you want to join.

    – Odyssee
    Nov 22 '18 at 6:44











  • Yes the node can see the manager host

    – Camilledhn
    Nov 26 '18 at 19:25



















  • I assume the node host can see the manager host?

    – Foxhound
    Nov 21 '18 at 1:21













  • How can I verify that ? thanks

    – Camilledhn
    Nov 21 '18 at 16:17











  • Run ping your-docker-host-ip from the node that you want to join.

    – Odyssee
    Nov 22 '18 at 6:44











  • Yes the node can see the manager host

    – Camilledhn
    Nov 26 '18 at 19:25

















I assume the node host can see the manager host?

– Foxhound
Nov 21 '18 at 1:21







I assume the node host can see the manager host?

– Foxhound
Nov 21 '18 at 1:21















How can I verify that ? thanks

– Camilledhn
Nov 21 '18 at 16:17





How can I verify that ? thanks

– Camilledhn
Nov 21 '18 at 16:17













Run ping your-docker-host-ip from the node that you want to join.

– Odyssee
Nov 22 '18 at 6:44





Run ping your-docker-host-ip from the node that you want to join.

– Odyssee
Nov 22 '18 at 6:44













Yes the node can see the manager host

– Camilledhn
Nov 26 '18 at 19:25





Yes the node can see the manager host

– Camilledhn
Nov 26 '18 at 19:25












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53403975%2fjoin-docker-swarm-manager%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53403975%2fjoin-docker-swarm-manager%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Guess what letter conforming each word

Port of Spain

Run scheduled task as local user group (not BUILTIN)