-
Notifications
You must be signed in to change notification settings - Fork 17
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
Don't know how to use the docker image #129
Comments
Well, think more and I believe we should put the
|
Hi @hughjfchen thanks for your recommendation. We might need to add extra information for the usage with docker. Currently, it has a fixed entry point directly to the hapistrano binary. If you need an interactive shell you could overwrite the entry point; the hapistrano image is based on Alpine. docker run -it --rm --entrypoint /bin/sh -v $PWD/hap.yaml:/root/hap.yaml stackbuilders/hapistrano Usually, you shouldn't need to run it interactively and something like this might be enough for most use scenarios, docker run --rm -v $PWD/hap.yaml:/hap.yaml stackbuilders/hapistrano deploy Thanks to your report we found about #130, so, for now, to get it working you will also need to add the host: localhost Please, let me know if this comment was of any help or if this doesn't solve your current scenario. |
I'll be closing this issue in case the above comment solved it. Feel free to open it's not resolved yet. |
Currently, the docker image only contain hap and ssh client, not has a even bash. When I feed the docker image with a config file which has run_locally or/and build_script, it always report that it can't find
exec
. Even with the following minimal config, it also complainsexec
not found:I run the docker image with following command:
and got following error:
The text was updated successfully, but these errors were encountered: