cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Create a Dockerfile from Cluster

ckwan48
New Contributor III

Is there a way to create a Dockerfile from Workspace A's cluster configurations and deploy that on a different different cluster in Workspace B?

4 REPLIES 4

Kaniz
Community Manager
Community Manager

Hi @Kevin Kim​, Databricks Container Services lets you specify a Docker image when you create a cluster.

ckwan48
New Contributor III

I wanted to know if we can export the cluster's configs into a docker image?

ratishm
New Contributor II

Hi @Kevin Kim​  We cannot export cluster configs into a docker image. The purpose of providing custom docker images is to be able to pre-install the necessary dependencies on the cluster nodes, instead of doing that during the cluster startup. But the image cannot include the spark/other cluster configs by itself.

However, if you would like to create a cluster with the exact same configs as that of an existing cluster in another workspace, you may use the REST APIs:

https://docs.databricks.com/dev-tools/api/latest/clusters.html

Anonymous
Not applicable

Hi @Kevin Kim​ 

Hope everything is going great.

Just wanted to check in if you were able to resolve your issue. If yes, would you be happy to mark an answer as best so that other members can find the solution more quickly? If not, please tell us so we can help you. 

Cheers!

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.