Vagrant 无法将漫游图像推送到atlas
我使用了Vagrant 无法将漫游图像推送到atlas,vagrant,vagrantfile,atlas,Vagrant,Vagrantfile,Atlas,我使用了ubuntu/trusty64映像来创建虚拟机。我添加了一些安装,现在我想将新图像存储在atlas公共帐户中。但我无法将图像推送到atlas。我尝试了Waggrant推送,但收到以下错误消息 subh@ubuntu_14$ vagrant push atlas error archiving: No VCS found for path: /Users/subh/subh_mac/vagrant/ubuntu_14 我的推送方案如下所示: config.push.define "at
ubuntu/trusty64
映像来创建虚拟机。我添加了一些安装,现在我想将新图像存储在atlas公共帐户中。但我无法将图像推送到atlas。我尝试了Waggrant推送,但收到以下错误消息
subh@ubuntu_14$ vagrant push atlas
error archiving: No VCS found for path: /Users/subh/subh_mac/vagrant/ubuntu_14
我的推送方案如下所示:
config.push.define "atlas" do |push|
push.app = "subh/ovs_docker" # this box does not exist in my atlas account
end
请让我知道,我如何使用
vagrant push
将图像推送到我的Atlas帐户?您是否确保在git中初始化了回购,并执行了一次提交
例如,将所有文件添加到repo,然后将文件提交到新初始化的repo
git init
git add *
git commit -am "new init, first commit, vagrant"
vagrant push
您是否确保在git中初始化了repo,并执行了一次提交 例如,将所有文件添加到repo,然后将文件提交到新初始化的repo
git init
git add *
git commit -am "new init, first commit, vagrant"
vagrant push
在您的文件中,您应该指定推送的位置
For example:
config.push.define "ftp" do |push|
push.host = "ftp.company.com"
push.username = "username"
push.password = "mypassword"
end
在您的文件中,您应该指定推送的位置
For example:
config.push.define "ftp" do |push|
push.host = "ftp.company.com"
push.username = "username"
push.password = "mypassword"
end
它将把流浪汉图像推到哪里,我试图看到
git remote-v
,但那是空的。它将把流浪汉图像推到哪里,我试图看到git remote-v
,但那是空的。如果我想把流浪汉图像添加到git中,你能告诉我变化吗,如果我想把流浪汉图像添加到git中。