How to handle a docker swarm in secure way(when communication is using a public NIC)?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I would connect 3 machines in a docker swarm using my unique and public NIC eth0.



Is the communication among the machines secure?
For joining to a swarm i need a token , so i suppose at least there is a authentication control. But the channel for communication is encrypted?
In addition i read i can add ecryption when i add a docker network.
I suppose these channels are completely separated by control stream so they are 2 concept completely different.
I d like to receive a little clarification about how to secure swarm data&control streams







share|improve this question



















  • you should not be using an Internet facing NIC.
    – Rui F Ribeiro
    Jun 16 at 6:51










  • This is a trial answer sorry. In my case i cant
    – Mark Lender
    Jun 16 at 10:19














up vote
0
down vote

favorite












I would connect 3 machines in a docker swarm using my unique and public NIC eth0.



Is the communication among the machines secure?
For joining to a swarm i need a token , so i suppose at least there is a authentication control. But the channel for communication is encrypted?
In addition i read i can add ecryption when i add a docker network.
I suppose these channels are completely separated by control stream so they are 2 concept completely different.
I d like to receive a little clarification about how to secure swarm data&control streams







share|improve this question



















  • you should not be using an Internet facing NIC.
    – Rui F Ribeiro
    Jun 16 at 6:51










  • This is a trial answer sorry. In my case i cant
    – Mark Lender
    Jun 16 at 10:19












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I would connect 3 machines in a docker swarm using my unique and public NIC eth0.



Is the communication among the machines secure?
For joining to a swarm i need a token , so i suppose at least there is a authentication control. But the channel for communication is encrypted?
In addition i read i can add ecryption when i add a docker network.
I suppose these channels are completely separated by control stream so they are 2 concept completely different.
I d like to receive a little clarification about how to secure swarm data&control streams







share|improve this question











I would connect 3 machines in a docker swarm using my unique and public NIC eth0.



Is the communication among the machines secure?
For joining to a swarm i need a token , so i suppose at least there is a authentication control. But the channel for communication is encrypted?
In addition i read i can add ecryption when i add a docker network.
I suppose these channels are completely separated by control stream so they are 2 concept completely different.
I d like to receive a little clarification about how to secure swarm data&control streams









share|improve this question










share|improve this question




share|improve this question









asked Jun 15 at 12:23









Mark Lender

1




1











  • you should not be using an Internet facing NIC.
    – Rui F Ribeiro
    Jun 16 at 6:51










  • This is a trial answer sorry. In my case i cant
    – Mark Lender
    Jun 16 at 10:19
















  • you should not be using an Internet facing NIC.
    – Rui F Ribeiro
    Jun 16 at 6:51










  • This is a trial answer sorry. In my case i cant
    – Mark Lender
    Jun 16 at 10:19















you should not be using an Internet facing NIC.
– Rui F Ribeiro
Jun 16 at 6:51




you should not be using an Internet facing NIC.
– Rui F Ribeiro
Jun 16 at 6:51












This is a trial answer sorry. In my case i cant
– Mark Lender
Jun 16 at 10:19




This is a trial answer sorry. In my case i cant
– Mark Lender
Jun 16 at 10:19










1 Answer
1






active

oldest

votes

















up vote
0
down vote













Docker swarm controls streams encrypted by default. You can encrypt also data using network encryption.






share|improve this answer





















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    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',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );








     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f449984%2fhow-to-handle-a-docker-swarm-in-secure-waywhen-communication-is-using-a-public%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    Docker swarm controls streams encrypted by default. You can encrypt also data using network encryption.






    share|improve this answer

























      up vote
      0
      down vote













      Docker swarm controls streams encrypted by default. You can encrypt also data using network encryption.






      share|improve this answer























        up vote
        0
        down vote










        up vote
        0
        down vote









        Docker swarm controls streams encrypted by default. You can encrypt also data using network encryption.






        share|improve this answer













        Docker swarm controls streams encrypted by default. You can encrypt also data using network encryption.







        share|improve this answer













        share|improve this answer



        share|improve this answer











        answered Jun 16 at 10:52









        Mark Lender

        1




        1






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f449984%2fhow-to-handle-a-docker-swarm-in-secure-waywhen-communication-is-using-a-public%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            Peggy Mitchell

            Palaiologos

            The Forum (Inglewood, California)