Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

The container name "/sandbox-hdp" is already in use by container

I have followed the steps of the tutorial and I get this error message:

Error response from daemon: Conflict. The container name "/sandbox-hdp" is already in use by container 5a892d5805d2c21be8c085f6d39af855026453a482678c0fccfe57e196f95521. You have to remove (or rename) that container to be able to reuse that name..
1 REPLY 1

Super Mentor

@ B A

Did you try killing all containers with first.

$ docker rm -f $(docker ps -a -q)

then restarting docker

$ sudo service docker restart

.

As an alternative try running docker using "--name" option as following: as described in:

https://community.hortonworks.com/articles/58458/installing-docker-version-of-sandbox-on-mac.html

docker run -v hadoop:/hadoop --name sandbox --hostname "sandbox.hortonworks.com" --privileged  ..................

.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.