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
Question: How to create an action using a custom Ubuntu docker image #5478
Comments
Hi, I build a image using this runtime-docker Currently, I just put a exec file that output a json string using |
There's not information here to help you. You can confirm that your container image is properly set up by running a copy of the container locally and using https://github.com/apache/openwhisk/tree/master/tools/actionProxy to test the image. |
thanks, I already solved that. |
Great @Tim-C1 - if you can leave a brief comment for what the fix was it might be helpful for future reference. |
Sure! Actually this has nothing to do with openwhisk, I follow the dockerskeleton repo and do some modifications to the Dockerfile to build a custom ubuntu image, and it works. The reason why I can not run create and invoke an action is that I first run bash in the image I built then commit it, and this commit will override the default CMD specified in the Dockerfile which is used to the start actionProxy server required by Openwhisk. |
Hi all, I am new to openwhisk, my goal is to create an action using a custom ubuntu docker image, to be more specific: I would like to run some bash scripts within the custom ubuntu docker image.
I read the docs for a while but I haven't found a good solution yet, could any of you give me some advices?
The text was updated successfully, but these errors were encountered: