Article 6Q1TS After running the container, the network is disconnected

After running the container, the network is disconnected

by
Jason.nix
from LinuxQuestions.org on (#6Q1TS)
Hello,
I have several containers as follows:
Code:NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
backend-api hummingbot/backend-api:latest "conda run --no-capt..." backend-api 10 minutes ago Up 10 minutes 0.0.0.0:8000->8000/tcp, :::8000->8000/tcp
dashboard hummingbot/dashboard:latest "/bin/bash -lc 'cond..." dashboard 10 minutes ago Up 10 minutes 0.0.0.0:8501->8501/tcp, :::8501->8501/tcp
hummingbot-broker emqx:5 "/usr/bin/docker-ent..." emqx 10 minutes ago Up 10 minutes (healthy) 4370/tcp, 0.0.0.0:1883->1883/tcp, :::1883->1883/tcp, 0.0.0.0:8081->8081/tcp, :::8081->8081/tcp, 0.0.0.0:8083-8084->8083-8084/tcp, :::8083-8084->8083-8084/tcp, 0.0.0.0:8883->8883/tcp, :::8883->8883/tcp, 0.0.0.0:18083->18083/tcp, :::18083->18083/tcp, 0.0.0.0:61613->61613/tcp, :::61613->61613/tcp, 5369/tcp
gateway hummingbot/gateway:latest "docker-entrypoint.s..." gateway 12 minutes ago Up 11 minutes 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp, 0.0.0.0:15888->15888/tcp, :::15888->15888/tcp
hummingbot hummingbot/hummingbot:latest "/bin/bash -lc 'cond..." hummingbot 12 minutes ago Up 11 minutesAnd open ports are:
Code:# ss -tupln
Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
udp UNCONN 0 0 0.0.0.0:4789 0.0.0.0:*
udp UNCONN 0 0 *:7946 *:* users:(("dockerd",pid=579,fd=33))
tcp LISTEN 0 4096 0.0.0.0:8883 0.0.0.0:* users:(("docker-proxy",pid=19512,fd=4))
tcp LISTEN 0 4096 0.0.0.0:61613 0.0.0.0:* users:(("docker-proxy",pid=19544,fd=4))
tcp LISTEN 0 4096 0.0.0.0:8501 0.0.0.0:* users:(("docker-proxy",pid=19408,fd=4))
tcp LISTEN 0 4096 0.0.0.0:18083 0.0.0.0:* users:(("docker-proxy",pid=19527,fd=4))
tcp LISTEN 0 4096 0.0.0.0:15888 0.0.0.0:* users:(("docker-proxy",pid=2177,fd=4))
tcp LISTEN 0 128 172.20.2.58:22 0.0.0.0:* users:(("sshd",pid=560,fd=3))
tcp LISTEN 0 4096 0.0.0.0:8084 0.0.0.0:* users:(("docker-proxy",pid=19496,fd=4))
tcp LISTEN 0 4096 0.0.0.0:8083 0.0.0.0:* users:(("docker-proxy",pid=19479,fd=4))
tcp LISTEN 0 4096 0.0.0.0:8081 0.0.0.0:* users:(("docker-proxy",pid=19463,fd=4))
tcp LISTEN 0 4096 0.0.0.0:8080 0.0.0.0:* users:(("docker-proxy",pid=2164,fd=4))
tcp LISTEN 0 4096 0.0.0.0:8000 0.0.0.0:* users:(("docker-proxy",pid=19428,fd=4))
tcp LISTEN 0 4096 0.0.0.0:1883 0.0.0.0:* users:(("docker-proxy",pid=19449,fd=4))
tcp LISTEN 0 4096 [::]:8883 [::]:* users:(("docker-proxy",pid=19520,fd=4))
tcp LISTEN 0 4096 [::]:61613 [::]:* users:(("docker-proxy",pid=19551,fd=4))
tcp LISTEN 0 4096 [::]:8501 [::]:* users:(("docker-proxy",pid=19415,fd=4))
tcp LISTEN 0 4096 [::]:18083 [::]:* users:(("docker-proxy",pid=19535,fd=4))
tcp LISTEN 0 4096 [::]:15888 [::]:* users:(("docker-proxy",pid=2186,fd=4))
tcp LISTEN 0 4096 [::]:8084 [::]:* users:(("docker-proxy",pid=19503,fd=4))
tcp LISTEN 0 4096 [::]:8083 [::]:* users:(("docker-proxy",pid=19486,fd=4))
tcp LISTEN 0 4096 [::]:8081 [::]:* users:(("docker-proxy",pid=19473,fd=4))
tcp LISTEN 0 4096 [::]:8080 [::]:* users:(("docker-proxy",pid=2170,fd=4))
tcp LISTEN 0 4096 *:7946 *:* users:(("dockerd",pid=579,fd=29))
tcp LISTEN 0 4096 [::]:8000 [::]:* users:(("docker-proxy",pid=19435,fd=4))
tcp LISTEN 0 4096 [::]:1883 [::]:* users:(("docker-proxy",pid=19456,fd=4))The physical (enX0) and virtual network cards are as below:
Code:# ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enX0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
link/ether ce:7f:2b:34:b8:5a brd ff:ff:ff:ff:ff:ff
3: docker_gwbridge: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default
link/ether 02:42:ad:ee:4b:a2 brd ff:ff:ff:ff:ff:ff
5: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default
link/ether 02:42:ed:9a:04:67 brd ff:ff:ff:ff:ff:ff
6: br-ec58823a906e: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default
link/ether 02:42:44:4a:49:39 brd ff:ff:ff:ff:ff:ff
18: veth2ba5e88@if17: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master docker_gwbridge state UP mode DEFAULT group default
link/ether 16:e1:03:6d:f8:5c brd ff:ff:ff:ff:ff:ff link-netnsid 5
25: br-c845577c2950: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default
link/ether 02:42:36:33:1c:43 brd ff:ff:ff:ff:ff:ff
27: veth9173c5d@if26: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-c845577c2950 state UP mode DEFAULT group default
link/ether b2:fe:f2:9b:8e:1c brd ff:ff:ff:ff:ff:ff link-netnsid 0
86: br-f9e29ec52dd1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default
link/ether 02:42:ef:d5:53:82 brd ff:ff:ff:ff:ff:ff
88: vetha2b2bbe@if87: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-f9e29ec52dd1 state UP mode DEFAULT group default
link/ether 9e:e7:c1:3a:51:da brd ff:ff:ff:ff:ff:ff link-netnsid 1
90: vetha3a9ee9@if89: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-f9e29ec52dd1 state UP mode DEFAULT group default
link/ether c6:37:54:6e:a4:8a brd ff:ff:ff:ff:ff:ff link-netnsid 2
92: vethb9df6b3@if91: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-f9e29ec52dd1 state UP mode DEFAULT group default
link/ether ee:a9:31:a5:f6:94 brd ff:ff:ff:ff:ff:ff link-netnsid 3When I run the docker compose up -d command, I see the following output and my connection with the server is disconnected:
Code:# docker compose up
[+] Running 0/0
Network hummingbot_default CreatingI have to connect to the server through the web panel and disconnect the containers.

How can I troubleshoot this problem?

Thank you.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments