By using AWS re:Post, you agree to the AWS re:Post Terms of Use

EMR Serverless Custom Image local validation failure

0

Hi.

I have set up an EMR Serverless application and i am using my custom image. I've configured everything properly.

Next, I've created a custom image according to the official docs: https://docs.aws.amazon.com/emr/latest/EMR-Serverless-UserGuide/application-custom-image.html

However, I am stuck at the test image locally validation part of the docs as i am continuously getting the error when i am running this command "$ amazon-emr-serverless-image validate-image -r emr-6.14.0 -t spark -i 933661958818.dkr.ecr.ap-south-1.amazonaws.com/emr-custom:latest/@digest"

OUTPUT:- Amazon EMR Serverless - Image CLI Version: 0.0.1 ... Checking if docker cli is installed [ERROR] docker cli doesn't exist but is required.

I am using windows machine and i have already installed docker desktop and verified that docker is running but again and again it throws the same error.

Please advise a possible solution.

Thanks

2 Answers
0

Hi, on Windows machine you need to execute this tool in some kind of virtual linux env like WSL .
Validation tool is using simple helper script to verify if docker cli is installed. It uses shutil library with "which" method, which is equivalent of running "which" command on Linux systems.

AWS
answered 3 months ago
  • Hello Thanks for the update, I run the same command on the wsl terminal it showed me the same issue.

0

You need to make sure docker is integrated with WSL. So if you manually run which docker command it should return version. You mentioned you have Docker Desktop, please check this guide in WSL documentation how to integrate them.

AWS
answered 3 months ago
profile picture
EXPERT
reviewed 3 months ago
  • Yes i integrated my wsl with the docker desktop and followed the above documentation to integrate it but still the problem persists. I have unistalled the docker desktop and installed it again but that also didn't work for me.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions