CentOS7 设置Docker开机启动
设置docker开机启动
root@localhost ~]# systemctl enable docker.service Created symlink from /etc/systemd/system/multi-user.target.wants/docker.service to /usr/lib/systemd/system/docker.service.
查看是否设置成功
[root@localhost ~]# systemctl list-unit-files | grep docker docker.service enabled