systemctl enable docker.service

[root@dingyingsi ~]# systemctl start docker.service
[root@dingyingsi ~]# systemctl enable docker.service
Created symlink from /etc/systemd/system/multi-user.target.wants/docker.service to /usr/lib/systemd/system/docker.service.
原文地址:https://www.cnblogs.com/yingsi/p/8324158.html