chapter4$ vagrant up
Bringing machine ‘docker-node1’ up with ‘virtualbox’ provider…
Bringing machine ‘docker-node2’ up with ‘virtualbox’ provider…
==> docker-node1: Importing base box ‘centos/7’…
==> docker-node1: Matching MAC address for NAT networking…
==> docker-node1: Checking if box ‘centos/7’ version ‘2004.01’ is up to date…
==> docker-node1: Setting the name of the VM: chapter4_docker-node1_1605728954865_8390
==> docker-node1: Clearing any previously set network interfaces…
==> docker-node1: Preparing network interfaces based on configuration…
docker-node1: Adapter 1: nat
docker-node1: Adapter 2: hostonly
==> docker-node1: Forwarding ports…
docker-node1: 22 (guest) => 2222 (host) (adapter 1)
==> docker-node1: Running ‘pre-boot’ VM customizations…
==> docker-node1: Booting VM…
==> docker-node1: Waiting for machine to boot. This may take a few minutes…
docker-node1: SSH address: 127.0.0.1:2222
docker-node1: SSH username: vagrant
docker-node1: SSH auth method: private key
docker-node1:
docker-node1: Vagrant insecure key detected. Vagrant will automatically replace
docker-node1: this with a newly generated keypair for better security.
docker-node1:
docker-node1: Inserting generated public key within guest…
docker-node1: Removing insecure key from the guest if it’s present…
docker-node1: Key inserted! Disconnecting and reconnecting using new SSH key…
==> docker-node1: Machine booted and ready!
[docker-node1] No Virtualbox Guest Additions installation found.
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Dependencies Resolved
Updating:
centos-release x86_64 7-9.2009.0.el7.centos base 27 k
Upgrade 1 Package
Total download size: 27 k
Downloading packages:
No Presto metadata available for base
Public key for centos-release-7-9.2009.0.el7.centos.x86_64.rpm is not installed
warning: /var/cache/yum/x86_64/7/base/packages/centos-release-7-9.2009.0.el7.centos.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Importing GPG key 0xF4A80EB5:
Userid : "CentOS-7 Key (CentOS 7 Official Signing Key) security@centos.org"
Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
Package : centos-release-7-8.2003.0.el7.centos.x86_64 (@anaconda)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : centos-release-7-9.2009.0.el7.centos.x86_64 1/2
Cleanup : centos-release-7-8.2003.0.el7.centos.x86_64 2/2
Verifying : centos-release-7-9.2009.0.el7.centos.x86_64 1/2
Verifying : centos-release-7-8.2003.0.el7.centos.x86_64 2/2
Updated:
centos-release.x86_64 0:7-9.2009.0.el7.centos
Complete!
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
yum install -y kernel-devel-uname -r
Stdout from the command:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Stderr from the command:
Error: Nothing to do