Tag: azure container registry

VSTS泊坞窗撰写任务

我正在尝试使用VSTS和docker-composeconfiguration持续交付,我想将其推送到Azure容器registry。 这是我在VSTS上的构build定义: 并且在构build结果中收到错误消息: No such command: docker_compose Commands: build Build or rebuild services bundle Generate a Docker bundle from the Compose file config Validate and view the Compose file create Create services down Stop and remove containers, networks, images, and volumes events Receive real time events from containers exec Execute a command in a running […]

在Windows 10上安装的Kubernetes群集上运行Windows Docker映像

我已经在我的Windows 10机器上安装了Kubernetes Cluster(minikube),似乎正在运行(即:我可以浏览minikube仪表板等)。 我也在Azure容器registry中有一个Windows Image(它有一个Asp.Net Web API .Net框架4.6应用程序),我想将它拖放到我的本地Kubernetes集群中。 我已经构build了以下yaml文件来创buildKubernetes部署: apiVersion: v1 kind: Pod metadata: name: hubapi spec: containers: – name: hubapi image: lgmimages.azurecr.io/hubapi/hubapi imagePullSecrets: – name: azurepasswordsecret 当我运行这个命令时: kubectl create -f hubapi.yaml 我看到: pod "hubapi" created 然后,当我去仪表板或获得Pod说明我看到以下错误: kubelet, minikube Failed to pull image "lgmimages.azurecr.io/hubapi/hubapi": rpc error: code = Unknown desc = image operating system "windows" […]

拉图像Azure容器registry – Kubernetes

有没有人有任何build议如何从Azure容器registry中提取,同时在Azure容器服务(kubernetes)中运行? 我已经尝试了一个像下面这样的示例部署,但图像拉不合格: kind: Deployment apiVersion: extensions/v1beta1 metadata: name: jenkins-master spec: replicas: 1 template: metadata: name: jenkins-master labels: name: jenkins-master spec: containers: – name: jenkins-master image: myregistry.azurecr.io/infrastructure/jenkins-master:1.0.0 imagePullPolicy: Always readinessProbe: tcpSocket: port: 8080 initialDelaySeconds: 20 timeoutSeconds: 5 ports: – name: jenkins-web containerPort: 8080 – name: jenkins-agent containerPort: 50000