Paul Houlston
Paul Houlston

Reputation: 256

Building Docker Containers in VSTS

I am trying to set up a private Visual Studio Team Services (VSTS) build agent to build docker images. I have followed the instructions in the following article http://normalian.hatenablog.com/entry/2018/03/23/044202 but am still getting the following error

[error]Unhandled: Failed which: Not found docker: null

I have installed docker-compose following the link https://docs.docker.com/compose/install/#install-compose. Now I am completely stuck? Can anyone help?

Thanks

Upvotes: 2

Views: 610

Answers (2)

Paul Houlston
Paul Houlston

Reputation: 256

Thanks - that is exactly what I did in the end and it started to work. What is worth noting is that when rebooting the server it asks you if you want to enable the hyper-v feature in Windows. I specifically declined this as I didn't require the service to be running in order to use the build tools.

Thanks

Upvotes: 0

Marina Liu
Marina Liu

Reputation: 38106

It seems you have not installed Docker CE on the agent machine.

Please install Docker Community Edition for Windows on your agent machine, and then setup VSTS private agent.

Upvotes: 1

Related Questions