我正试着在机器上安装码头,
Distributor ID: CentOS
Description: CentOS release 6.7 (Final)
Release: 6.7
Codename: Final我跟随了https://docs.docker.com/engine/installation/linux/centos/#install-from-a-package的文章
我在台阶上说
$ sudo systemctl start docker当我运行它时,我得到
$ sudo systemctl start docker
sudo: systemctl: command not found我遗漏了什么?
发布于 2017-04-05 02:29:08
如前所述,Docker的后期版本仅在CentOS 7上安装。请参阅https://docs.docker.com/engine/installation/linux/centos/#os-requirements上的OS requirements部分。我相信CentOS 6使用SysV init系统,而CentOS 7是基于systemd的。这就是为什么在systemctl 6系统上没有CentOS命令的原因。
https://stackoverflow.com/questions/43219571
复制相似问题