Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cloudera quickstart docker: unable to run/start the container

I am using windows 10 machine, with Docker on windows, and pulled cloudera-quickstart:latest image. while trying to run it, I am getting into below error. can someone please suggest.

docker: Error response from daemon: oci runtime error: container_linux.go:262: starting container process caused "exec: \"/usr/bin/docker-quickstart\": stat /usr/bin/docker-quickstart: no such file or directory"

my run command:

docker run --hostname=quickstart.cloudera --privileged=true -t -i cloudera/quickstart /usr/bin/docker-quickstart

like image 499
Srinivasa Prasad Avatar asked Oct 12 '25 10:10

Srinivasa Prasad


2 Answers

The issue was that I have download docker separately and created the image with this command, which is not supported in cloudera 5.10 and above.

tar xzf cloudera-quickstart-vm-*-docker.tar.gz

docker import - cloudera/quickstart:latest < cloudera-quickstart-vm--docker/.tar

so I finally removed the docker image and then pulled it properly

docker pull cloudera/quickstart:latest

now docker is properly up and running.

like image 125
Srinivasa Prasad Avatar answered Oct 15 '25 08:10

Srinivasa Prasad


If you had downloaded CDH v5.13 docker image, then the issue might be mostly due to the structure of the image archive; in my case, I found it to be clouder*.tar.gz > cloudera*.tar > cloudera*.tar ! Seems the packaging was done by fault and the official documentation too doesn't capture this :( In which case, just perform one more level of extraction to get to the correct cloudera*.tar archieve. This post from the cloudera forum helped me.

like image 35
vsrikarunyan Avatar answered Oct 15 '25 09:10

vsrikarunyan