<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Container lifetime? in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/container-lifetime/m-p/110147#M9822</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/142679"&gt;@mrstevegross&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="lzjgu3f"&gt;
&lt;DIV class="lzjgu33"&gt;
&lt;DIV class="lzjgu3g lzjgu35"&gt;
&lt;DIV class="lzjgu3j lzjgu3l"&gt;
&lt;DIV class="_1poi13f0 _1azxaep2" tabindex="0"&gt;
&lt;DIV class="_1poi13f3"&gt;
&lt;DIV&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Cluster Creation&lt;/STRONG&gt;: When you submit a job using the "Create and trigger a one-time run" API, a new cluster is created if one is not specified.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Container Start&lt;/STRONG&gt;: The custom Docker image specified in the cluster configuration is used to start the container.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Job Execution&lt;/STRONG&gt;: The job runs within this container.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Container Termination&lt;/STRONG&gt;: After the job completes, the container is terminated along with the cluster.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;The container does not persist and is not reused by subsequent jobs. Each job submission that requires a new cluster will start a new container based on the specified custom image, run the job, and then terminate the container and cluster upon completion.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 13 Feb 2025 20:35:21 GMT</pubDate>
    <dc:creator>Alberto_Umana</dc:creator>
    <dc:date>2025-02-13T20:35:21Z</dc:date>
    <item>
      <title>Container lifetime?</title>
      <link>https://community.databricks.com/t5/get-started-discussions/container-lifetime/m-p/110144#M9821</link>
      <description>&lt;P&gt;When launching a job via "Create and trigger a one-time run" (&lt;A href="https://docs.databricks.com/api/workspace/jobs_21/submit" target="_self"&gt;docs)&lt;/A&gt;, when using a custom image (&lt;A href="https://docs.databricks.com/api/workspace/clusters/create#docker_image" target="_self"&gt;docs&lt;/A&gt;), what's the lifetime of the container? Does it create the cluster, start the container, run the job, then terminate the container? Or does the running container persist and get re-used by subsequent jobs?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 18:02:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/container-lifetime/m-p/110144#M9821</guid>
      <dc:creator>mrstevegross</dc:creator>
      <dc:date>2025-02-13T18:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Container lifetime?</title>
      <link>https://community.databricks.com/t5/get-started-discussions/container-lifetime/m-p/110147#M9822</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/142679"&gt;@mrstevegross&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="lzjgu3f"&gt;
&lt;DIV class="lzjgu33"&gt;
&lt;DIV class="lzjgu3g lzjgu35"&gt;
&lt;DIV class="lzjgu3j lzjgu3l"&gt;
&lt;DIV class="_1poi13f0 _1azxaep2" tabindex="0"&gt;
&lt;DIV class="_1poi13f3"&gt;
&lt;DIV&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Cluster Creation&lt;/STRONG&gt;: When you submit a job using the "Create and trigger a one-time run" API, a new cluster is created if one is not specified.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Container Start&lt;/STRONG&gt;: The custom Docker image specified in the cluster configuration is used to start the container.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Job Execution&lt;/STRONG&gt;: The job runs within this container.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Container Termination&lt;/STRONG&gt;: After the job completes, the container is terminated along with the cluster.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;The container does not persist and is not reused by subsequent jobs. Each job submission that requires a new cluster will start a new container based on the specified custom image, run the job, and then terminate the container and cluster upon completion.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 13 Feb 2025 20:35:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/container-lifetime/m-p/110147#M9822</guid>
      <dc:creator>Alberto_Umana</dc:creator>
      <dc:date>2025-02-13T20:35:21Z</dc:date>
    </item>
  </channel>
</rss>

