Tag: centos7

在Vagrant上运行的CentOS 7上无法安装Docker

使用Vagrant文​​件的全新实例 VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.box = "chef/centos-7.0" config.vm.network "forwarded_port", guest: 3000, host: 3007 end 然后运行以下命令 vagrant up vagrant ssh sudo su yum install -y docker systemctl status docker.service 这一切运行良好。 那么错误: [root@localhost vagrant]# sudo systemctl start docker Job for docker.service failed. See 'systemctl status docker.service' and 'journalctl -xn' for details. [root@localhost vagrant]# systemctl […]

在centos7上安装docker:docker-engine-selinux与docker-selinux-冲突

我尝试从yum安装Centos7 ,从Centos7上的安装脚本安装Centos7 ,两者都给出了同样的错误: Error: docker-engine-selinux conflicts with docker-selinux-1.10.3-44.el7.centos.x86_64 我无法弄清楚如何解决这个问题,并得到docker安装。 完整的错误追溯: [root@mynode]# wget -qO- https://get.docker.com/ | sh /usr/bin/docker: line 13: /usr/bin/docker-latest: No such file or directory sh: line 149: [: -lt: unary operator expected sh: line 153: [: -le: unary operator expected Warning: the "docker" command appears to already exist on this system. If you already […]