问题
I created a Docker Host
Service Connection in Azure Devops Services. But I can't see how I can refer to that service connection from the azure-pipeline.yml file.
Can someone help?
回答1:
How to use Docker Host Service Connection in Azure Pipelines
I am afraid that this should be a legacy of a unpublished task Docker Integration.
Because this task is in an unpublished state at this time, we cannot use it. If necessary, it is recommended to use docker
and Docker Compose
tasks. That the reason why you could not find any task to use the Docker Host Service Connection.
If this option causes any confusion for you, you can go to our UserVoice site (https://developercommunity.visualstudio.com/content/idea/post.html?space=21 ) to suggest removing it, which is our main forum for product suggestions. Thank you for helping us build a better Azure DevOps.
You could check this blog for some more details.
来源:https://stackoverflow.com/questions/64665570/how-to-use-docker-host-service-connection-in-azure-pipelines