无法使用docker-python运行虹膜分类 [英] Failed to run iris classification using docker-python

查看:98
本文介绍了无法使用docker-python运行虹膜分类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好~~ 

我正在按照教程2:对虹膜进行分类-建立模型"的步骤进行操作.

但是,我可以使用local来运行虹膜分类,但是通过使用docker-python失败.
(在本地Docker环境中运行脚本"部分.)

这是日志:

-----
在历史记录服务中记录实验准备.
运行:['docker','build','-f','azureml-setup/Dockerfile','-t','azureml_6e9e4064c715c5fd6695a1c3d5e08862','.']
将构建上下文发送到Docker守护程序248.3kB
步骤1/14:来自microsoft/mmlspark:plus-0.9.9
plus-0.9.9:从microsoft/mmlspark中提取
映像操作系统"linux";无法在此平台上使用

命令'['docker','build','-f','azureml-setup/Dockerfile','-t','azureml_6e9e4064c715c5fd6695a1c3d5e08862','.']'返回非零退出状态1
将实验状态上传到历史记录服务.
-----

有人有什么建议吗?

在此先感谢您.

Hello~~ 

I am following the steps of "Tutorial 2: Classify Iris - Build a model".

However, I am able to run iris classification using local but failed by using docker-python.
(The section of "Run scripts in local Docker environments").

Here is the log :

-----
Logging experiment preparation in history service.
Running: ['docker', 'build', '-f', 'azureml-setup/Dockerfile', '-t', 'azureml_6e9e4064c715c5fd6695a1c3d5e08862', '.']
Sending build context to Docker daemon  248.3kB
Step 1/14 : FROM microsoft/mmlspark:plus-0.9.9
plus-0.9.9: Pulling from microsoft/mmlspark
image operating system "linux" cannot be used on this platform

Command '['docker', 'build', '-f', 'azureml-setup/Dockerfile', '-t', 'azureml_6e9e4064c715c5fd6695a1c3d5e08862', '.']' returned non-zero exit status 1
Uploading experiment status to history service.
-----

Does anyone have any suggestions ? 

Thanks in advance. 

推荐答案

您是否正在运行Windows容器?我们仅支持用于远程docker的linux容器.

Are you running a windows container? We only support linux containers for remote docker.

您可以在Windows DSVM上安装Workbech,在本地执行或针对在Linux DSVM中运行的Docker执行


这篇关于无法使用docker-python运行虹膜分类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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