rabbah commented on a change in pull request #4782: A docker image for the standalone openwhisk URL: https://github.com/apache/openwhisk/pull/4782#discussion_r365523005
########## File path: core/standalone/README.md ########## @@ -380,6 +386,24 @@ This shows an output like below indicating that KubernetesContainerFactory based } ``` +## Launching OpenWhisk standalone with Docker + +If you have docker and bash installed, you can launch the standalone openwhisk from the docker image with just: + +`bash <(curl -sL https://s.apache.org/openwhisk.sh)` + +If you do not want to execute arbitrary code straight from the net, you can look at [this script](start.sh), check it and run it when you feel safe. + +The script will start the standalone docker, and will also try to open the playground. It was tested on Linux, OSX and Windows with Git Bash. If a browser does not open with playground, access it with `http://localhost:3232`. + +You can then install the [wsk cli](https://github.com/apache/openwhisk-cli/releases) and retrieve the command line to configure `wsk` with: + +`docker logs openwhisk | grep 'wsk property'` + +To shut down properly openwhisk and the other containers it creates, use [this script](stop.sh) or the command: Review comment: ```suggestion To properly shut down OpenWhisk and containers it creates, use [this script](stop.sh) or run the command: ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
