Our machine learning workflow requires use of a custom windows .pyc file. Where can I find a windows docker image file.
I am puzzled by this statement from https://learn.microsoft.com/en-us/azure/machine-learning/service/how-to-deploy-custom-docker-image#create-a-custom-base-image. Is it really true that azure cannot use windows images?
Image requirements: Azure Machine Learning only supports Docker images that provide the following software:
Ubuntu 16.04 or greater.
Conda 4.5.# or greater.
Python 3.5.# or 3.6.#.
Searching on docker hub also did not turn up anything promising
That is correct. The Azure ML Service currently only supports Linux for dockerized execution.
Related
I try to train a pytorch model on amazon sagemaker studio.
It's working when I use an EC2 for training with:
estimator = PyTorch(entry_point='train_script.py',
role=role,
sagemaker_session = sess,
train_instance_count=1,
train_instance_type='ml.c5.xlarge',
framework_version='1.4.0',
source_dir='.',
git_config=git_config,
)
estimator.fit({'stockdata': data_path})
and it's work on local mode in classic sagemaker notebook (non studio) with:
estimator = PyTorch(entry_point='train_script.py',
role=role,
train_instance_count=1,
train_instance_type='local',
framework_version='1.4.0',
source_dir='.',
git_config=git_config,
)
estimator.fit({'stockdata': data_path})
But when I use it the same code (with train_instance_type='local') on sagemaker studio it doesn't work and I have the following error: No such file or directory: 'docker': 'docker'
I tried to install docker with pip install but the docker command is not found if use it in terminal
This indicates that there is a problem finding the Docker service.
By default, the Docker is not installed in the SageMaker Studio (confirming github ticket response).
Adding more information to an almost 2 years old question.
SageMaker Studio does not natively support local mode. Studio Apps are themselves docker containers and therefore they require privileged access if they were to be able to build and run docker containers.
As an alternative solution, you can create a remote docker host on an EC2 instance and setup docker on your Studio App. There is quite a bit of networking and package installation involved, but the solution will enable you to use full docker functionality. Additionally, as of version 2.80.0 of SageMaker Python SDK, it now supports local mode when you are using remote docker host.
sdockerSageMaker Studio Docker CLI extension (see this repo) can simplify deploying the above solution in simple two steps (only works for Studio Domain in VPCOnly mode) and it has an easy to follow example here.
UPDATE:
There is now a UI extension (see repo) which can make the experience much smoother and easier to manage.
I'm part of a team developing a machine learning application.
currently we're using Vagrant with a Docker provider as a uniform dev environment.
We want to utilize the GPUs on our computers when we play around during development, and I found that Nvidia released nvidia-docker to enable that for a simple docker container.
How can I use nvidia-docker as a provider for Vagrant?
If it's not possible, is there any equivalent solution?
It is important for us to develop on top of the same docker image that we deploy since we depend on multiple interacting opensource libraries, and we want to manage them in one place
(no dependencies breaking when deploying)
I am looking for mq v9 docker image for windows.But I am unable to find the link to run the image on docker.Instead I have seen the links where most of the tool expertise have explained about the mq image for linux.
If anyone is aware of this, please share the link, it will be helpful for me.
Thanks.:)
Assuming you are talking about IBM MQ.
There is currently no support for an IBM MQ Windows image. The only platform that is supported as a containerized platform is Linux.
Source: No mention of any other platform than Linux on the Configuring IBM MQ in Docker Knowledge Center page
Now in theory you could create one by hand using the sample MQ Dockerfile and config files available on GitHub as a basis. However if you encounter problems with this then you won't be able to get any help from IBM.
That said. If you are talking about running the IBM MQ Docker image on a windows machine (so the host machine docker is installed on is Windows) then you can still run the Linux image inside that docker. For windows docker installs a VM where it runs the images and this VM generally is Linux meeting the requirements set out on the Docker support on Linux systems Knowledge Center page
I am new to docker and my task is to create docker container running Windows 98.
The difficult part is not having Windows 98 installed. My computer has Windows 7/Kubuntu 16 (dual boot).
I am looking for some way of getting ready Windows98 docker image or creating it using these operational systems.
P.S. I think I need to clarify: I prefer to run docker over Kubuntu, not Windows (if possible).
The docker image should run Windows98 inside.
Here you can find official images from Microsoft for docker.
As you can see there are only Nano Server and Windows Server Core containers available.
Unfortunately for Windows98, you would need to use regular VM.
I have one project base on asp.net 4.5, now I want run it in Docker. As far as I am known, only asp.net 5 be supported this moment, so has any way let me run my project in Docker?
You must read Mono documentation about ASP.NET MVC Support. Mono can handle your needs, running under Docker Linux Containers.
Using Windows Containers (new feature becomes with Windows Server 2016) you will do that without any trick.
About Mono and Docker, that was useful, stable and can solve your requirements, depends exclusivelly what you are using in your project to understand that is compactible with mono runtime.
Mono Docker repository on Github
Mono on Docker Hub
Enjoy and tell us about your experiences.
There are two approaches depending on whether you want to run Linux or Windows containers. For Linux containers, you'd have to port your app to Mono, as laid out by #luiz-carlos-faria
To run in Windows Docker containers, you'd have to create a 4.6/4.5 base image similar to this one: https://github.com/Microsoft/Virtualization-Documentation/blob/master/windows-container-samples/windowsservercore/dotnet35/Dockerfile
You can run that on Windows Server 2016 TP5 (free download) in a VM.