I'm in localhost. I did this project: https://github.com/antonio24073/aapanel-docker-compose-swarm
Just need to select the subnet. See this:
root@cc547b2e46d6:/# bt 14
===============================================
EXECUTING
===============================================
curl: (28) Resolving timed out after 10000 milliseconds
==================================================================
aaPanel default info!
==================================================================
aaPanel Internet Address: http://:7800/17b12441
aaPanel Internal Address: http://10.0.0.82:7800/17b12441
username: yhsm0qva
password: 7170a282
Warning:
If you cannot access the panel,
release the following port (7800|888|80|443|20|21) in the security group
==================================================================
root@cc547b2e46d6:/# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
99285: eth0@if99286: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state UP group default
link/ether 02:42:0a:00:00:52 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet 10.0.0.82/24 brd 10.0.0.255 scope global eth0
valid_lft forever preferred_lft forever
99287: eth2@if99288: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 02:42:ac:12:00:04 brd ff:ff:ff:ff:ff:ff link-netnsid 2
inet 172.18.0.4/16 brd 172.18.255.255 scope global eth2
valid_lft forever preferred_lft forever
99289: eth1@if99290: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state UP group default
link/ether 02:42:ac:1b:00:08 brd ff:ff:ff:ff:ff:ff link-netnsid 1
inet 172.27.0.8/16 brd 172.27.255.255 scope global eth1
valid_lft forever preferred_lft forever
root@cc547b2e46d6:/#
When I do:
$docker network disconnect docker_gwbridge cc5
Error response from daemon: container cc547b2e46d67989e7134b9b3543b8202479b2c55a7829a4dce26e83310365ae failed to leave network docker_gwbridge: container cc547b2e46d67989e7134b9b3543b8202479b2c55a7829a4dce26e83310365ae: endpoint create on GW Network failed: endpoint with name gateway_2326762b5282 already exists in network docker_gwbridge
$docker network disconnect ingress cc5
Error response from daemon: container cc547b2e46d67989e7134b9b3543b8202479b2c55a7829a4dce26e83310365ae failed to leave network ingress: container cc547b2e46d67989e7134b9b3543b8202479b2c55a7829a4dce26e83310365ae: endpoint create on GW Network failed: endpoint with name gateway_2326762b5282 already exists in network docker_gwbridge
It changes to:
root@cc547b2e46d6:/# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
99289: eth1@if99290: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state UP group default
link/ether 02:42:ac:1b:00:08 brd ff:ff:ff:ff:ff:ff link-netnsid 1
inet 172.27.0.8/16 brd 172.27.255.255 scope global eth1
valid_lft forever preferred_lft forever
root@cc547b2e46d6:/# bt 14
===============================================
EXECUTING
===============================================
curl: (28) Resolving timed out after 10000 milliseconds
==================================================================
aaPanel default info!
==================================================================
aaPanel Internet Address: http://:7800/17b12441
aaPanel Internal Address: http://172.27.0.8:7800/17b12441
username: yhsm0qva
password: 7170a282
Warning:
If you cannot access the panel,
release the following port (7800|888|80|443|20|21) in the security group
==================================================================
root@cc547b2e46d6:/#
Then I connect again.
But it 's not the best approach.
I think there must be a function on the panel to do this.
Best regards.