Created
January 21, 2023 16:31
-
-
Save thalysonalexr/46df33558a96a7fe744960e1e0ff4f72 to your computer and use it in GitHub Desktop.
Init docker swarm with default IP address
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
docker swarm init --advertise-addr 172.16.0.24 --default-addr-pool 172.61.1.0/24 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment