Run "systemctl start Docker.service" Error
Job for Docker.service failed because the control process exited with error code. See "Systemctl Status Docker.service" and "Journalctl-xe" for details. '
Run ' Docker ps ' ERROR '
Cannot connect to the Docker daemon at Unix:///var/run/docker.sock. Is the Docker daemon running? '
Turn off SELinux to
The procedure is as follows:
[Email protected] ~]# Getenforce
Enforcing
[Email protected] ~]# Setenforce 0
[Email protected] ~]# Getenforce
Permissive
[Email protected] ~]# systemctl start Docker.service
Job for Docker.service failed because the control process exited with error code. See "Systemctl Status Docker.service" and "Journalctl-xe" for details.
[[email protected] ~]# vi/etc/selinux/config modify selinux=disabled reboot system
[[Email protected] ~]# Init 6
Last Login:mon 06:12:24 2018 from 192.168.1.105
[Email protected] ~]# systemctl status Docker.service
[[email protected] ~]# Docker PS
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
Docker command is not available, turn SELinux off