Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker start error #37694

Closed
zhangtingshu opened this issue Aug 22, 2018 · 7 comments
Closed

docker start error #37694

zhangtingshu opened this issue Aug 22, 2018 · 7 comments

Comments

@zhangtingshu
Copy link

zhangtingshu commented Aug 22, 2018

Steps to reproduce:
1.cent os 7 new;
2.get docker-ce;
3.systemctl start docker;
iptables can not init nat table;
output:
8月 22 17:15:09 VM dockerd[31404]: Error starting daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain DOCKER: iptables failed: iptables --wait -t nat -N DOCKER: iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insm
8月 22 17:15:09 VM dockerd[31404]: Perhaps iptables or your kernel needs to be upgraded.
8月 22 17:15:09 VM dockerd[31404]: (exit status 3)
8月 22 17:15:09 VM systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
8月 22 17:15:09 VM systemd[1]: Failed to start Docker Application Container Engine.

@zhangtingshu
Copy link
Author

zhangtingshu commented Aug 22, 2018

cent os
Linux VM 3.10.0-862.3.2.el7.x86_64 #1 SMP Mon May 21 23:36:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
docker version
Docker version 18.05.0-ce-rc1, build 33f00ce

@ljesparis
Copy link

ping @thaJeztah

You should follow the following issue template:

Description

Steps to reproduce the issue:
1.
2.
3.

Describe the results you received:

Describe the results you expected:

Additional information you deem important (e.g. issue happens only occasionally):

Output of docker version:

(paste your output here)

Output of docker info:

(paste your output here)

Additional environment details (AWS, VirtualBox, physical, etc.):

@zhangtingshu
Copy link
Author

cent os need join nat module and recompile the kernel.
or replace os.

@jiankunking
Copy link

cent os need join nat module and recompile the kernel.
or replace os.

This kind of work station is troublesome, have other method?

@jiankunking
Copy link

cent os need join nat module and recompile the kernel.
or replace os.

What are the specific causes?

@jiankunking
Copy link

关闭CentOS7的firewalld并启用iptables即可

Just close firewalld on CentOS7 and enable iptables

@jiankunking
Copy link

解决方案(solution)
https://blog.csdn.net/jiankunking/article/details/84064695

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants