Skip to content

Instantly share code, notes, and snippets.

@alex-oliveira
Created May 22, 2020 23:18
Show Gist options
  • Save alex-oliveira/8876964babdb099139cfb78e3d2b31b2 to your computer and use it in GitHub Desktop.
Save alex-oliveira/8876964babdb099139cfb78e3d2b31b2 to your computer and use it in GitHub Desktop.
docker does not work within the homestead.
homestead: Are you sure you want to destroy the 'homestead' VM? [y/N] y
==> homestead: Forcing shutdown of VM...
==> homestead: Destroying VM and associated drives...
λ vagrant up
Bringing machine 'homestead' up with 'virtualbox' provider...
==> homestead: Importing base box 'laravel/homestead'...
==> homestead: Matching MAC address for NAT networking...
==> homestead: Checking if box 'laravel/homestead' version '9.5.1' is up to date...
==> homestead: Setting the name of the VM: homestead
==> homestead: Clearing any previously set network interfaces...
==> homestead: Preparing network interfaces based on configuration...
homestead: Adapter 1: nat
homestead: Adapter 2: hostonly
==> homestead: Forwarding ports...
homestead: 80 (guest) => 8000 (host) (adapter 1)
homestead: 443 (guest) => 44300 (host) (adapter 1)
homestead: 3306 (guest) => 33060 (host) (adapter 1)
homestead: 4040 (guest) => 4040 (host) (adapter 1)
homestead: 5432 (guest) => 54320 (host) (adapter 1)
homestead: 8025 (guest) => 8025 (host) (adapter 1)
homestead: 9600 (guest) => 9600 (host) (adapter 1)
homestead: 27017 (guest) => 27017 (host) (adapter 1)
homestead: 22 (guest) => 2222 (host) (adapter 1)
==> homestead: Running 'pre-boot' VM customizations...
==> homestead: Booting VM...
==> homestead: Waiting for machine to boot. This may take a few minutes...
homestead: SSH address: 127.0.0.1:2222
homestead: SSH username: vagrant
homestead: SSH auth method: private key
homestead: Warning: Connection reset. Retrying...
homestead:
homestead: Vagrant insecure key detected. Vagrant will automatically replace
homestead: this with a newly generated keypair for better security.
homestead:
homestead: Inserting generated public key within guest...
homestead: Removing insecure key from the guest if it's present...
homestead: Key inserted! Disconnecting and reconnecting using new SSH key...
==> homestead: Machine booted and ready!
==> homestead: Checking for guest additions in VM...
homestead: The guest additions on this VM do not match the installed version of
homestead: VirtualBox! In most cases this is fine, but in rare cases it can
homestead: prevent things such as shared folders from working properly. If you see
homestead: shared folder errors, please make sure the guest additions within the
homestead: virtual machine match the version of VirtualBox you have installed on
homestead: your host and reload your VM.
homestead:
homestead: Guest Additions Version: 6.0.0 r127566
homestead: VirtualBox Version: 6.1
==> homestead: Setting hostname...
==> homestead: Configuring and enabling network interfaces...
==> homestead: Mounting shared folders...
homestead: /vagrant => D:/Workspace/homestead
homestead: /home/vagrant/www/homestead => D:/Workspace/www/homestead
==> homestead: Running provisioner: file...
homestead: D:/Workspace/homestead/aliases => /tmp/bash_aliases
==> homestead: Running provisioner: shell...
homestead: Running: inline script
==> homestead: Running provisioner: shell...
homestead: Running: inline script
homestead:
homestead: ssh-rsa XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx
==> homestead: Running provisioner: shell...
homestead: Running: inline script
==> homestead: Running provisioner: shell...
homestead: Running: inline script
==> homestead: Running provisioner: shell...
homestead: Running: inline script
==> homestead: Running provisioner: shell...
homestead: Running: inline script
homestead: Ignoring feature: mariadb because it is set to false
==> homestead: Running provisioner: shell...
homestead: Running: inline script
homestead: Ignoring feature: ohmyzsh because it is set to false
==> homestead: Running provisioner: shell...
homestead: Running: inline script
homestead: Ignoring feature: webdriver because it is set to false
==> homestead: Running provisioner: Installing docker (shell)...
homestead: Running: script: Installing docker
homestead: # Executing docker install script, commit: 26ff363bcf3b3f5a00498ac43694bf1c7d9ce16c
homestead: + sh -c 'apt-get update -qq >/dev/null'
homestead: + sh -c 'DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null'
homestead: + sh -c 'curl -fsSL "https://download.docker.com/linux/ubuntu/gpg" | apt-key add -qq - >/dev/null'
homestead: Warning: apt-key output should not be parsed (stdout is not a terminal)
homestead: + sh -c 'echo "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable" > /etc/apt/sources.list.d/docker.list'
homestead: + sh -c 'apt-get update -qq >/dev/null'
homestead: + '[' -n '' ']'
homestead: + sh -c 'apt-get install -y -qq --no-install-recommends docker-ce >/dev/null'
homestead: E: Failed to fetch https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/amd64/containerd.io_1.2.13-2_amd64.deb Hash Sum mismatch
homestead: Hashes of expected file:
homestead: - SHA512:4261d170fe1962df2f73efffb5f438b93cd3cbd050f02a66171e55f2b323799814c4ecb464b582a28ace1a7fc5a3b3470643bfe718c1a72008a21462f79a6808
homestead: - SHA256:e5fd0f73fe2a83b0030af490ba5b26eec79483059a7ff7873c47948ff3fbb864
homestead: - SHA1:38cc415af5a03198a2f83bd49307ad329b45ff06 [weak]
homestead: - MD5Sum:84488c696235a78a5be963c13ed2aadf [weak]
homestead: - Filesize:21400958 [weak]
homestead: Hashes of received file:
homestead: - SHA512:488f3db46195d74e823eaa8fcceec1eaec41e10fa54c5b94fa962cb60c2683438b5b00759e61c3ccac04384d2dbacd18daa7f84ec6116c9fd4cce87a82521f38
homestead: - SHA256:2a35dad74c08841b336044328aa6ad23bf5c54d6da917115c8a0f0c048493906
homestead: - SHA1:1fc810964261b842d7e90dbbf95d97e531b429c6 [weak]
homestead: - MD5Sum:ec60b5b7a192a2f8b645f9711fa68d6c [weak]
homestead: - Filesize:21400958 [weak]
homestead: Last modification reported: Fri, 15 May 2020 03:16:17 +0000
homestead: E: Failed to fetch https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/amd64/docker-ce-cli_19.03.9~3-0~ubuntu-bionic_amd64.deb Hash Sum mismatch
homestead: Hashes of expected file:
homestead: - SHA512:29f1222a999fc9a28fe76f3583e8f371d1cbbf69f35f55200a8cbf2114317a34420e18b57a663ca5dbab2d71f1af36b43b01fab450a6c3ec67b580c4618e735c
homestead: - SHA256:43ec301153e7955d31d252a385d244ff0b8a82a71c70aac9fbc7c7de28ac9a5c
homestead: - SHA1:f69643fe39ee26d8dc5ac4cc112d7a61f7271fcf [weak]
homestead: - MD5Sum:807ca0865b73ff7c069294a00905fd6f [weak]
homestead: - Filesize:41213158 [weak]
homestead: Hashes of received file:
homestead: - SHA512:5a49040e6d0bd37a72ce3df3bf92796a117637c4b8d5f90e9a563d11cdf870c13ed8e2245c6f2127ba718043c070102a599ab7a5e8e49c64199c09b394292bed
homestead: - SHA256:439914465ad844b99af90ec2d54e68d760ea68e4e5701ea057343d8e3a8c44b9
homestead: - SHA1:6bebdce0d600d8a4b7956cd5326317ed5a08b5fe [weak]
homestead: - MD5Sum:71cbefcb641d4054382900f36d3998c5 [weak]
homestead: - Filesize:41213158 [weak]
homestead: Last modification reported: Mon, 18 May 2020 22:25:00 +0000
homestead: E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
homestead: usermod: group 'docker' does not exist
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment