无法在TeamCity命令行构建步骤中执行boot2docker命令

时间:2015-07-27 14:09:22

标签: windows docker teamcity boot2docker

我正在尝试使用普通命令行选项在TeamCity构建步骤上添加docker命令。我有Windows环境所以我必须使用boot2docker。

我可以执行以下命令: Windows命令行上的<form name="forgotForm" ng-controller="mainCtrl"> <label> Enter your name: <div ng-messages="submittedFrgPwd && forgotForm.username.$error" multiple> <div ng-message="required">{{ 'EMPTY_EMAIL' }}</div> <div ng-message="minlength">{{ 'SHORT_EMAIL' }}</div> <div ng-message="maxlength">{{ 'LONG_EMAIL'}}</div> <div ng-if="!forgotForm.username.$error.minlength" ng-message="pattern">{{ 'INVALID_EMAIL' }}</div> </div> <input type="text" id="username-remember" name="username" ng-model="username" ng-minlength="8" ng-maxlength="200" required ng-pattern="email_regexp" ng-class="{ 'has-error': submittedFrgPwd && forgotForm.username.$invalid || submittedError}"/> </form> 。它将返回我的泊坞窗图像列表。

但是,我无法使用命令行运行程序类型在TeamCity上运行相同的命令。我总是收到错误消息"C:\Program Files\Boot2Docker for Windows\boot2docker.exe" ssh docker images enter image description here

enter image description here

有人有想法吗?感谢。

1 个答案:

答案 0 :(得分:0)

错误消息很明确:boot2docker-vm is not running

登录您的服务器并在其命令行上运行boot2docker up。这将启动boot2docker VM。然后再试一次。