Windows 使用“启动漫游框时出错”;“流浪者上”;在窗户上

Windows 使用“启动漫游框时出错”;“流浪者上”;在窗户上,windows,vagrant,virtualbox,cmder,Windows,Vagrant,Virtualbox,Cmder,我正在尝试使用vagrant设置一个虚拟机环境。 我在vagrantcloud.com上尝试了几次不同的盒子,但是当我尝试启动这个盒子时,我总是被卡住:我在vagrant文件上添加了一个URL供下载,但我似乎不起作用 λvagrant init x9 ubuntu/box/bionic64 λ流浪者 正在使用“virtualbox”提供程序启动计算机“默认”。。。 默认值:找不到框“x9”。正在尝试查找并安装。。。 默认值:框提供程序:virtualbox 默认值:框版本:>=0 默认值:未将框

我正在尝试使用vagrant设置一个虚拟机环境。 我在vagrantcloud.com上尝试了几次不同的盒子,但是当我尝试启动这个盒子时,我总是被卡住:我在vagrant文件上添加了一个URL供下载,但我似乎不起作用

λvagrant init x9 ubuntu/box/bionic64

λ流浪者 正在使用“virtualbox”提供程序启动计算机“默认”。。。 默认值:找不到框“x9”。正在尝试查找并安装。。。 默认值:框提供程序:virtualbox 默认值:框版本:>=0 默认值:未将框文件检测为元数据。直接添加它。。。默认值:为提供程序添加框“x9”(v0):virtualbox 默认值:下载: 违约: 下载远程文件时出错。错误 消息(如有)复制如下。请修复此错误并重试 再说一遍

无法连接到app.vagrantup.com端口443:超时



有人知道我该怎么做吗

这很正常,如果您尚未下载此框,则无法找到它。 我试过了,效果很好,它下载并启动了这个盒子,我将我的基本配置(这是我测试的)

这是我的输出:

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu/bionic64' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Loading metadata for box 'ubuntu/bionic64'
    default: URL: https://vagrantcloud.com/ubuntu/bionic64
==> default: Adding box 'ubuntu/bionic64' (v20200304.0.0) for provider: virtualbox
    default: Downloading: https://vagrantcloud.com/ubuntu/boxes/bionic64/versions/20200304.0.0/providers/virtualbox.box
==> default: Box download is resuming from prior download progress
    default: Download redirected to host: cloud-images.ubuntu.com
==> default: Successfully added box 'ubuntu/bionic64' (v20200304.0.0) for 'virtualbox'!
==> default: Importing base box 'ubuntu/bionic64'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'ubuntu/bionic64' version '20200304.0.0' is up to date...
==> default: Setting the name of the VM: amos_default_1583767787636_71616
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 (guest) => 2222 (host) (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: vagrant
    default: SSH auth method: private key
    default: 
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default: 
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default: 
    default: Guest Additions Version: 5.2.34
    default: VirtualBox Version: 6.1
==> default: Mounting shared folders...
    default: /vagrant => /home/amos
唯一可能的解释是您的internet连接不好…请尝试在此处进行速度测试:


如果您的连接不好,请尝试重新启动调制解调器或联系您的互联网提供商

嘿,谢谢您的回答。。。您在您的文件上使用哪个下载URL?我是说,是来自流浪云的URL吗?我尝试了很多,但总是相同的错误…你不需要url,只需要盒子的名称,它会自动下载,只需用这三行复制我的vagrant文件,然后运行vagrant
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu/bionic64' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Loading metadata for box 'ubuntu/bionic64'
    default: URL: https://vagrantcloud.com/ubuntu/bionic64
==> default: Adding box 'ubuntu/bionic64' (v20200304.0.0) for provider: virtualbox
    default: Downloading: https://vagrantcloud.com/ubuntu/boxes/bionic64/versions/20200304.0.0/providers/virtualbox.box
==> default: Box download is resuming from prior download progress
    default: Download redirected to host: cloud-images.ubuntu.com
==> default: Successfully added box 'ubuntu/bionic64' (v20200304.0.0) for 'virtualbox'!
==> default: Importing base box 'ubuntu/bionic64'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'ubuntu/bionic64' version '20200304.0.0' is up to date...
==> default: Setting the name of the VM: amos_default_1583767787636_71616
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 (guest) => 2222 (host) (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: vagrant
    default: SSH auth method: private key
    default: 
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default: 
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default: 
    default: Guest Additions Version: 5.2.34
    default: VirtualBox Version: 6.1
==> default: Mounting shared folders...
    default: /vagrant => /home/amos