You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by gi...@git.apache.org on 2017/08/10 15:34:17 UTC

[GitHub] merlimat commented on a change in pull request #666: Added documentation on how to start the standalone service with Docker

merlimat commented on a change in pull request #666: Added documentation on how to start the standalone service with Docker
URL: https://github.com/apache/incubator-pulsar/pull/666#discussion_r132488932
 
 

 ##########
 File path: site/docs/latest/getting-started/docker.md
 ##########
 @@ -0,0 +1,162 @@
+---
+title: Start a standalone cluster with Docker
+lead: Quickly start a Pulsar service in a single Docker container
+tags:
+- standalone
+- local
+- docker
+next: ../Clients
+---
+
+
+For the purposes of local development and testing, you can run Pulsar in {% popover standalone %}
+mode on your own machine within a Docker container.
+
+If you don't have Docker installed, you can download the [Community edition](https://www.docker.com/community-edition)
+and follow the instructions for your OS.
+
+## Starting Pulsar inside Docker
+
+```shell
+$ docker run -it \
+    -p 6650:6650 \
+    -p 8080:8080 \
+    -v $PWD/data:/pulsar/data \
+    apachepulsar/pulsar:{{site.current_version}} \
 
 Review comment:
   Differently from the kubernetes yaml definitiions, this is part of the website, so it's getting converted into html at the website build time. At that point, Jekyll will substitute the variables with they're values.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services