cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
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?

3 REPLIES 3

ckwan48
New Contributor III

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

ratishm
Databricks Employee
Databricks Employee

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!

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group