<?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: Format when specifying docker_image url? in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/format-when-specifying-docker-image-url/m-p/107264#M9642</link>
    <description>&lt;P&gt;Thanks, that's pretty much what I did; a lot of terraform configuration to get the AWS account set up properly, and now I'm able to tell DBR to load the container. (FWIW, I'm encountering *new* access issues; I started a thread here (&lt;A href="https://community.databricks.com/t5/community-platform-discussions/how-to-grant-custom-container-aws-credentials-for-reading-init/m-p/106856" target="_blank"&gt;https://community.databricks.com/t5/community-platform-discussions/how-to-grant-custom-container-aws-credentials-for-reading-init/m-p/106856&lt;/A&gt;) to deal with them).&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jan 2025 16:02:52 GMT</pubDate>
    <dc:creator>mrstevegross</dc:creator>
    <dc:date>2025-01-27T16:02:52Z</dc:date>
    <item>
      <title>Format when specifying docker_image url?</title>
      <link>https://community.databricks.com/t5/get-started-discussions/format-when-specifying-docker-image-url/m-p/106549#M9639</link>
      <description>&lt;P&gt;I am providing a custom Docker image to my Databricks/Spark job. I've created the image and uploaded it to our private ECR registry (the URL is `472542229217.dkr.ecr.us-west-2.amazonaws.com/tectonai/mrstevegross-testing:latest`). Based on the docs (&lt;A href="https://docs.databricks.com/en/compute/custom-containers.html#launch-your-compute-using-the-api" target="_blank" rel="noopener"&gt;https://docs.databricks.com/en/compute/custom-containers.html#launch-your-compute-using-the-api&lt;/A&gt;), however, it is unclear to me if my string format is correct, since I'm getting this error at runtime:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Cluster '0121-203731-epwa9mar' was terminated. Reason: INVALID_ARGUMENT (CLIENT_ERROR). Parameters: databricks_error_message:Container setup failed because of an invalid request: Exception when verifying docker container image: Image doesn't exist or invalid credential to pull image from 472542229217.dkr.ecr.us-west-2.amazonaws.com/tectonai/mrstevegross-testing:latest. Stdout: Stderr: time="2025-01-21T20:43:05Z" level=fatal msg="Error parsing image name \"&lt;/SPAN&gt;&lt;A class="" href="docker://472542229217.dkr.ecr.us-west-2.amazonaws.com/tectonai/mrstevegross-testing:latest\" target="_blank" rel="noopener noreferrer"&gt;docker://472542229217.dkr.ecr.us-west-2.amazonaws.com/tectonai/mrstevegross-testing:latest\&lt;/A&gt;&lt;SPAN&gt;": reading manifest latest in 472542229217.dkr.ecr.us-west-2.amazonaws.com/tectonai/mrstevegross-testing: authentication required"&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note in particular that the error claims "parsing image name 'docker://..."; I'm wondering whether the "docker://" prefix indicates that I mis-specified the URL. Can anyone advise on how to properly format "472542229217.dkr.ecr.us-west-2.amazonaws.com/tectonai/mrstevegross-testing:latest" for use in the API call?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 21:06:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/format-when-specifying-docker-image-url/m-p/106549#M9639</guid>
      <dc:creator>mrstevegross</dc:creator>
      <dc:date>2025-01-21T21:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Format when specifying docker_image url?</title>
      <link>https://community.databricks.com/t5/get-started-discussions/format-when-specifying-docker-image-url/m-p/106550#M9640</link>
      <description>&lt;P&gt;Note: I found additional docs about formatting for AWS ECR &lt;A href="https://docs.databricks.com/en/compute/custom-containers.html#launch-your-compute-using-the-ui" target="_self"&gt;here,&lt;/A&gt;&amp;nbsp;so, I'm trying that now.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 21:13:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/format-when-specifying-docker-image-url/m-p/106550#M9640</guid>
      <dc:creator>mrstevegross</dc:creator>
      <dc:date>2025-01-21T21:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Format when specifying docker_image url?</title>
      <link>https://community.databricks.com/t5/get-started-discussions/format-when-specifying-docker-image-url/m-p/106862#M9641</link>
      <description>&lt;P class=""&gt;Hey!&lt;/P&gt;&lt;P class=""&gt;It seems like your &lt;STRONG&gt;Instance Profile&lt;/STRONG&gt; might not have enough privileges to access this ECR. I would recommend updating the policies of the IAM role you are using and ensuring that it includes at least the following permissions:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "GrantECRGeneralAccess",
      "Effect": "Allow",
      "Action": [
        "ecr:GetRegistryPolicy",
        "ecr:DescribeRegistry",
        "ecr:GetAuthorizationToken"
      ],
      "Resource": "&amp;lt;resource&amp;gt;"
    },
    {
      "Sid": "GrantECRReadWriteAccess",
      "Effect": "Allow",
      "Action": [
        "ecr:DescribeImageScanFindings",
        "ecr:GetLifecyclePolicyPreview",
        "ecr:GetDownloadUrlForLayer",
        "ecr:BatchGetImage",
        "ecr:DescribeImageReplicationStatus",
        "ecr:DescribeImages",
        "ecr:DescribeRepositories",
        "ecr:ListTagsForResource",
        "ecr:ListImages",
        "ecr:BatchCheckLayerAvailability",
        "ecr:GetRepositoryPolicy",
        "ecr:GetLifecyclePolicy",
        "ecr:InitiateLayerUpload",
        "ecr:SetRepositoryPolicy",
        "ecr:PutImageTagMutability",
        "ecr:StartImageScan",
        "ecr:UploadLayerPart",
        "ecr:BatchDeleteImage",
        "ecr:CompleteLayerUpload",
        "ecr:TagResource",
        "ecr:ReplicateImage",
        "ecr:PutLifecyclePolicy",
        "ecr:PutImageScanningConfiguration",
        "ecr:PutImage",
        "ecr:UntagResource",
        "ecr:StartLifecyclePolicyPreview"
      ],
      "Resource": "&amp;lt;resource&amp;gt;"
    }
  ]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;After updating the IAM role with the above permissions, make sure the &lt;STRONG&gt;Instance Profile ARN&lt;/STRONG&gt; is correctly assigned to your Databricks cluster.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 23:49:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/format-when-specifying-docker-image-url/m-p/106862#M9641</guid>
      <dc:creator>Isi</dc:creator>
      <dc:date>2025-01-23T23:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Format when specifying docker_image url?</title>
      <link>https://community.databricks.com/t5/get-started-discussions/format-when-specifying-docker-image-url/m-p/107264#M9642</link>
      <description>&lt;P&gt;Thanks, that's pretty much what I did; a lot of terraform configuration to get the AWS account set up properly, and now I'm able to tell DBR to load the container. (FWIW, I'm encountering *new* access issues; I started a thread here (&lt;A href="https://community.databricks.com/t5/community-platform-discussions/how-to-grant-custom-container-aws-credentials-for-reading-init/m-p/106856" target="_blank"&gt;https://community.databricks.com/t5/community-platform-discussions/how-to-grant-custom-container-aws-credentials-for-reading-init/m-p/106856&lt;/A&gt;) to deal with them).&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 16:02:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/format-when-specifying-docker-image-url/m-p/107264#M9642</guid>
      <dc:creator>mrstevegross</dc:creator>
      <dc:date>2025-01-27T16:02:52Z</dc:date>
    </item>
  </channel>
</rss>

