Skip to content
Discussion options

You must be logged in to vote

This is the sequence of steps (for changing IP addresses of docker networks) that solved the problem for me:
(type in terminal on UTMStackServer)

1.) sudo su

2.) docker stack ls (outputs: utmstack 17 services)

3.) docker stack rm utmstack (outputs: "Removing service ..." + "Removing network utmstack_default")

4.) nano /etc/docker/daemon.json with content:
{
"default-address-pools": [
{"base":"172.17.0.0/16","size":16}
]
}

5.) service docker restart
6.) docker info (check "Default Address Pools: Base: 172.17.0.0/16, Size: 16")

7.) nano /etc/netplan/99-vlan.yaml change "addresses" to [172.16.254.33/24]
8.) reboot

9.) sudo su
10.) ip a show (check "docker0": inet 172.17.0.1/16 and "vlan10@en…

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@TYrorare
Comment options

Answer selected by c3s4rfred
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants