L'inizio di vagabondo (su) con un provider di docker crea un problema rsync perché rsync tenta la sincronizzazione con un utente docker e mi chiede la password, che ovviamente non ho. Se scambio il fornitore di docker con un file vm.box, tutto va bene. I messaggi che ricevo sono:Vagrant con il provider Docker richiede la password RSync
WDFM32388067A:vagranttest d022051$ vagrant up
Bringing machine 'default' up with 'docker' provider...
==> default: Docker host is required. One will be created if necessary...
default: Docker host VM is already ready.
==> default: Syncing folders to the host VM...
default: The machine you're rsyncing folders to is configured to use
default: password-based authentication. Vagrant can't script rsync to automatically
default: enter this password, so you'll likely be prompted for a password
default: shortly.
default:
default: If you don't want to have to do this, please enable automatic
default: key insertion using `config.ssh.insert_key`.
default: Rsyncing folder: /Users/d022051/tmp/vagranttest/ => /var/lib/docker/docker_1437748320_29948
[email protected]'s password:
There was an error when attempting to rsync a synced folder.
Please inspect the error message below for more info.
Host path: /Users/d022051/tmp/vagranttest/
Guest path: /var/lib/docker/docker_1437748320_29948
Command: rsync --verbose --archive --delete -z --copy-links --no-owner --no-group --rsync-path sudo rsync -e ssh -p 2222 -o StrictHostKeyChecking=no -o IdentitiesOnly=true -o UserKnownHostsFile=/dev/null --exclude .vagrant/ /Users/d022051/tmp/vagranttest/ [email protected]:/var/lib/docker/docker_1437748320_29948
Error: Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
Connection closed by 127.0.0.1
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(226) [sender=3.1.1]
e questa è la parte rilevante dalla configurazione Vagrant:
config.vm.provider "docker" do |d|
d.image = "bowline/orientdb:dev"
end
config.vm.synced_folder ".", "/vagrant", type: "rsync"
C'è una password di default per l'utente finestra mobile? Devo creare l'utente della finestra mobile nell'immagine della finestra mobile?
UPDATE: Dopo un riavvio del mio Mac il problema si trasforma. Ora il problema è che vagabondo tenta di installare rsync sul VM e fallisce. Quindi considera questa domanda chiusa, poiché attualmente non riesco a riprodurre il problema originale.
password è "tcuser" per chiunque sia interessato –