Does dask-cloudprovider support private dockerhub images?
See original GitHub issueDoes dask-cloudprovider support private docker-hub images (or AWS Elastic Container Registry/ECS)? I tried with no joy:
import dask_cloudprovider
from dask_cloudprovider import FargateCluster
dask_cloudprovider.__version__ # 0.2.0
cluster = FargateCluster(cloudwatch_logs_group="my_log_group",
cluster_name_template='test',
scheduler_timeout="1 hour",
security_groups=["A CUSTOM SECURITY GROUP"],
n_workers=1,
image="asmith26/test-dask_cloudprovider", # points to a private dockerhub (works when made public)
)
[UPDATED following @martindurant comment, good idea, many thanks 😃]
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Dask Cloud Provider Documentation
To provide GPUs to workers you need to use a GPU ready docker image that has dask-cuda installed and GPU nodes available in...
Read more >support for dask docker images in private container registry
I was wondering if there is any support for this out yet - might just be me not knowing how to use the...
Read more >mdurant/dask-kubernetes - Docker Image
This repo hosts some sample configuration to set up Kubernetes containerized environments for interactive cluster computing in Python with Jupyter notebook dask ......
Read more >Interacting with Docker Hub images - Cloud Build
Additionally, if your build produces images, you can push them to Docker Hub. This page describes how to write build config files to...
Read more >Dask tutorial - Docs CSC
Dask is a versatile Python library for scalable analytics. ... the work tasks to different workers whenever parallel computing is possible.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m going to reopen this as we currently do not support private image pulls in
FargateCluster
and it would be good to add that.ECR is the recommended approach generally as image pulls will be faster. But there is no reason why folks shouldn’t be able to pull from other private repos.
It looks like the credentials need to be stored in secrets manager and then provided in the task definition. I would be tempted to say putting the credentials in secrets manager is out of scope for
FargateCluster
, but we should add a kwarg for configuring the secret name in the task definition.https://aws.amazon.com/blogs/compute/introducing-private-registry-authentication-support-for-aws-fargate/
@myan-numagic could you raise a separate issue for this as you are talking about a different cloud.