Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rsync problem on hashicorp/boot2docker image #7

Open
yorch opened this issue Oct 23, 2015 · 0 comments
Open

rsync problem on hashicorp/boot2docker image #7

yorch opened this issue Oct 23, 2015 · 0 comments

Comments

@yorch
Copy link

yorch commented Oct 23, 2015

When running vagrant up, I'm getting the following error:

⇒  vagrant up
Bringing machine 'default' up with 'docker' provider...
==> default: Docker host is required. One will be created if necessary...
    default: Vagrant will now create or start a local VM to act as the Docker
    default: host. You'll see the output of the `vagrant up` for this VM below.
    default:
    default: Box 'hashicorp/boot2docker' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
    default: Loading metadata for box 'hashicorp/boot2docker'
    default: URL: https://atlas.hashicorp.com/hashicorp/boot2docker
    default: Adding box 'hashicorp/boot2docker' (v1.7.8) for provider: virtualbox
    default: Downloading: https://atlas.hashicorp.com/hashicorp/boxes/boot2docker/versions/1.7.8/providers/virtualbox.box
    default: Successfully added box 'hashicorp/boot2docker' (v1.7.8) for 'virtualbox'!
    default: Importing base box 'hashicorp/boot2docker'...
    default: Matching MAC address for NAT networking...
    default: Checking if box 'hashicorp/boot2docker' is up to date...
    default: Setting the name of the VM: docker-host_default_1445575971327_33001
    default: Clearing any previously set network interfaces...
    default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Forwarding ports...
    default: 2375 => 2375 (adapter 1)
    default: 22 => 2222 (adapter 1)
    default: Running 'pre-boot' VM customizations...
    default: Booting VM...
    default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: docker
    default: SSH auth method: password
    default: Warning: Connection timeout. Retrying...
    default: Machine booted and ready!
==> default: Syncing folders to the host VM...
    default: Installing rsync to the VM...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

rsync --help

Stdout from the command:



Stderr from the command:

sh: rsync: not found

Seems like rsync has been removed from hashicorp/boot2docker image.

The solution is to use dduportal/boot2docker as http://stackoverflow.com/questions/31694350/vagrant-with-docker-provider-fails-with-rsync-over-ssh

Pull Request to follow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant