Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mongodb-conf has no bash #5

Open
smyth64 opened this issue Dec 6, 2016 · 3 comments
Open

mongodb-conf has no bash #5

smyth64 opened this issue Dec 6, 2016 · 3 comments

Comments

@smyth64
Copy link

smyth64 commented Dec 6, 2016

Hey there,
I just tried to manually start the initiate.sh script, because it didn't work automatically.

What I tried was this:

docker run -it rancher/mongodb-conf:v0.1.0 bash

I get this:

docker: Error response from daemon: invalid header field value "oci runtime error: container_linux.go:247: starting container process caused \"exec: \\\"bash\\\": executable file not found in $PATH\"\n".

I also entered the container using "sh", then I saw that there is no bash. So how should the connect.sh, scale.sh, ... scripts work?

@smyth64
Copy link
Author

smyth64 commented Dec 10, 2016

This should really get fixed.. It's not even possible to build the docker container from the Dockerfile, there is always an error..

@srinisubramanian
Copy link

srinisubramanian commented Jan 14, 2017

The container is using alpine ..
Use the following to connect: docker run -it --rm rancher/mongodb-conf:v0.1.0 /bin/ash

@galal-hussein
Copy link
Owner

Sorry for the late reply, i am working on another version for the mongodb rancher replica set that utilize Rancher's metadata:

rancher/catalog-dockerfiles#92

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants