在天蓝色管道上运行泊坞窗图像 [英] Run a docker image on an azure pipeline

查看:90
本文介绍了在天蓝色管道上运行泊坞窗图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将linux基础映像推送到azure注册表。我试图拉动图像并运行它(这将运行一些api测试)。

I pushed a linux base image to azure registry. I am trying to pull the image and run it (which will run some api tests).

错误到达:

图像操作系统" linux"不能在此平台上使用

脚本输出:


## [section]开始:Bash脚本

推荐答案

看起来您已将docker配置为运行Windows容器而不是Linux。您可以通过右键单击桌面上的泊坞窗图标来检查是否是这种情况

Looks like you have docker configured to run Windows containers instead of Linux. You can check if this is the case by right clicking the docker icon on your desktop

正如您所见,我的设置是运行Linux,因为它询问我是否要切换到Windows。如果您运行的是Windows,则情况正好相反。检查一下,看看是否有帮助。 

As you can see mine is setup to run Linux as it asks if I want to switch to Windows. The opposite would be true if you are running Windows. Check that and see if that helps. 


这篇关于在天蓝色管道上运行泊坞窗图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆