Can't execute boot2docker command on TeamCity command line build step

I am trying to add docker commands on TeamCity build steps using the normal command line option. I have Windows environment so I have to use boot2docker.

I can execute the command like:
"C:\Program Files\Boot2Docker for Windows\boot2docker.exe" ssh docker images on Windows command line. It will return a list of my docker images.

  • Docker+Rails+Postgres: app can't access database container
  • Docker Toolbox Cleanup Disk Space
  • Allow communication between two docker bridge networks using docker-compose
  • Changing zookeeper cluster leadership when leader dies
  • difference between docker attach and docker exec
  • Rebuilding docker image is failing although using the same Dockerfile as shown in the hub
  • However, I’m not able to run the same command on TeamCity using the Command Line runner type. I always get the error message error in run: VM "boot2docker-vm" is not running.
    enter image description here

    enter image description here

    Anyone get ideas? Thanks.

  • How to create windows docker image with VS test agents?
  • .pac files for ubuntu - command line
  • Error: ./ts3server: not found
  • - Docker linking between application & database containers
  • Were are the docker Remote API logs stored?
  • How to make request to linked container from frontend js?
  • One Solution collect form web for “Can't execute boot2docker command on TeamCity command line build step”

    The error message is clear: boot2docker-vm is not running

    Login on your server and run boot2docker up on its command line. That will start the boot2docker VM. Then try again.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.