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 06:44:57 UTC

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

rdhabalia 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_r132374595
 
 

 ##########
 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:
   instead `{{site.current_version}}`, should we just keep `latest` so, anyone can copy this text and execute it?
 
----------------------------------------------------------------
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