修改完 Vagrantfile,后 vagrant up 过程中有warning:NOKEY。如下回答有详细信息
来源:2-7 Docker Machine的本地使用
慕盖茨5931195
2018-04-12
修改完 Vagrantfile,后 vagrant up 过程中有warning:NOKEY,如下回答有详细信息
2回答
-
麦兜搞IT
2018-04-12
请问您能vagrant ssh进到虚机里么?进去以后运行docker version有输出么
022018-04-12 -
慕盖茨5931195
提问者
2018-04-12
vim vagrantfile
config.vm.provision "shell", inline: <<-SHELL
sudo yum remove docker docker-common docker-selinux docker-engine
sudo yum install -y yum-utils device-mapper-persistent-data lvm2
sudo yum-config-manager -y --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum install -y docker-ce
sudo systemctl start docker
SHELL
end
报warning 如下:
default: warning: /var/cache/yum/x86_64/7/extras/packages/container-selinux-2.42-1.gitad8f0f7.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
default: Public key for audit-libs-python-2.7.6-3.el7.x86_64.rpm is not installed
default: warning: /var/cache/yum/x86_64/7/docker-ce-stable/packages/docker-ce-18.03.0.ce-1.el7.centos.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID 621e9f35: NOKEY
00
相似问题