Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problem that docker cannot restart

2025-04-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article introduces the knowledge of "how to solve the problem that docker cannot restart". In the operation of actual cases, many people will encounter such a dilemma. Next, let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

OS:Debian Gnu/Linux 10.7

Kernel:Debian 5.9.6-1~bpo10+1 (2020-11-19) x86 hours 64 GNU/Linux

Firewall:nftables v0.9.0 (Fearless Fosdick)

Docker:Docker version 18.09.1, build 4c52b90

Problem description: this machine uses nftables as the default firewall component. After installing docker using apt-get install docker.io, docker is abnormal after executing the command "systemctl restart docker". Check the detailed restart process by using the command "jjournalctl-u docker.service" and find the following error:

January 08 07:43:04 localhost dockerd [18260]: time= "2021-01-08T07:43:04.938383895+08:00" level=info msg= "pickfirstBalancer: HandleSubConnStateChange: 0xc000884200, CONNECTING" module=grpc

07:43:05 localhost dockerd [18260]: Error starting daemon: Error initializing network controller: error obtaining controller instance: failed to create FILTER chain DOCKER: iptables failed: iptables-t filter-N DOCKER: iptables v1.8.2 (nf_tables): Chain already exists

January 08 07:43:05 localhost dockerd [18260]: (exit status 1)

Problem solving:

1 、 systemctl stop docker

2 、 ip link set docker0 down

3 、 brctl delbr docker0

4 、 systemctl restart nftables.server

5 、 systemctl start docker

This is the end of the content of "how to solve the problem that docker cannot restart". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report