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 Cant't Start On CentOS Linux release 7.4.1708 (Core)?Help me resove it,Please #36039
Comments
You can't install "docker-common". "docker-ce" is not an official package of Docker, but one maintained by RedHat... Also very old. |
yes,I have installed the "docker-ce" and its deps. |
This is because you've installed other, non-official packages by force and it has overwritten the systemd service file. "docker-current" is not from the official package. |
Thanks u so much,I have a try. |
[root@10-6-27-221-zssslj yum.repos.d]# |
How did you re-install? |
first:select the stable version |
I do according to the official website |
I found the reason of it; INFO[0000] loading plugin "io.containerd.content.v1.content"... module=containerd type=io.containerd.content.v1 |
Yes, using overlay or overlay2 on a filesystem without d_type support is not supported Running overlay (or overlay2) on XFS without
Also see these issues, which contain some information #10294, #29873. The RHEL release notes mentions this; https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/7.2_Release_Notes/technology-preview-file_systems.html
Please keep in mind that the GitHub issue tracker is not intended as a general support forum,
I'm closing this issue because this is not a bug, but feel free to continue the conversation 👍 |
wonderful,I see it now. |
rhel 7.4 and docker-ce17.12 : /etc/sysconfig/docker works In RHEL 7.4, its ExecStart=/usr/bin/dockerd-current what is the difference, how can I customize the docker daemon in centos 7.4 , is it possible on through daemon.json. In daemon.json, default-ulimit is not supported. |
@listenerme If you are seeing |
OSVersion: CentOS Linux release 7.4.1708 (Core)
1、sudo yum install -y yum-utils
device-mapper-persistent-data
lvm2
2、sudo yum-config-manager
--add-repo
https://download.docker.com/linux/centos/docker-ce.repo
3、 sudo yum-config-manager --enable docker-ce-edge
4、sudo yum-config-manager --enable docker-ce-test
5、 yum install docker-ce-17.12.0.ce-1.el7.centos
6、[root@10-6-27-221-zssslj docker]# rpm -ivh docker-common-1.12.6-68.gitec8512b.el7.centos.x86_64.rpm
error: Failed dependencies:
container-selinux >= 2:2.21-2 is needed by docker-common-2:1.12.6-68.gitec8512b.el7.centos.x86_64
container-storage-setup >= 0.7.0-1 is needed by docker-common-2:1.12.6-68.gitec8512b.el7.centos.x86_64
oci-umount >= 2:2.0.0-1 is needed by docker-common-2:1.12.6-68.gitec8512b.el7.centos.x86_64
skopeo-containers >= 0.1.24-3 is needed by docker-common-2:1.12.6-68.gitec8512b.el7.centos.x86_64
7、rpm -ivh docker-common-1.12.6-68.gitec8512b.el7.centos.x86_64.rpm --nodeps
file /usr/bin/docker from install of docker-common-2:1.12.6-68.gitec8512b.el7.centos.x86_64 conflicts with file from package docker-ce-17.12.0.ce-1.el7.centos.x86_64
file /usr/bin/docker-containerd from install of docker-common-2:1.12.6-68.gitec8512b.el7.centos.x86_64 conflicts with file from package docker-ce-17.12.0.ce-1.el7.centos.x86_64
file /usr/bin/docker-containerd-shim from install of docker-common-2:1.12.6-68.gitec8512b.el7.centos.x86_64 conflicts with file from package docker-ce-17.12.0.ce-1.el7.centos.x86_64
file /usr/bin/dockerd from install of docker-common-2:1.12.6-68.gitec8512b.el7.centos.x86_64 conflicts with file from package docker-ce-17.12.0.ce-1.el7.centos.x86_64
[root@10-6-27-221-zssslj docker]# rpm -ivh docker-common-1.12.6-68.gitec8512b.el7.centos.x86_64.rpm --nodeps
#service docker start
Jan 17 18:29:31 10-6-27-221-zssslj systemd: Cannot add dependency job for unit docker-storage-setup.service, ignoring: Unit not found.
Jan 17 18:29:31 10-6-27-221-zssslj systemd: Starting Docker Application Container Engine...
Jan 17 18:29:31 10-6-27-221-zssslj systemd: Failed at step EXEC spawning /usr/bin/docker-current: No such file or directory
Jan 17 18:29:31 10-6-27-221-zssslj systemd: docker.service: main process exited, code=exited, status=203/EXEC
Jan 17 18:29:31 10-6-27-221-zssslj systemd: Failed to start Docker Application Container Engine.
Jan 17 18:29:31 10-6-27-221-zssslj systemd: Unit docker.service entered failed state.
Jan 17 18:29:31 10-6-27-221-zssslj systemd: docker.service failed.
The text was updated successfully, but these errors were encountered: