You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/10/19 20:24:48 UTC

[GitHub] [pulsar] cdbartholomew opened a new pull request #5419: [Issue 5392][documentation] Updating Docker command to work on Windows properly

cdbartholomew opened a new pull request #5419: [Issue 5392][documentation] Updating Docker command to work on Windows properly
URL: https://github.com/apache/pulsar/pull/5419
 
 
   This PR fixes issue #5392. The Docker command listed in the docs didn't work correctly for Windows, causing confusing. The revised command:
   
   * Works on MacOS, Linux, and Windows
   * Uses Docker volumes instead of bind mounts, which [Docker recommends](https://docs.docker.com/storage/volumes/)
   * Includes a volume for persisting the configuration. Note that this volume is defined in the Dockerfile for the image (`VOLUME  ["/pulsar/conf", "/pulsar/data"]`), so it's getting created anyway. If we name it, we can re-use it for subsequent runs of the command and persist the data.
   
   I have tested the command on Linux and Windows. @junlia also confirms that it works on Windows. I didn't test on MacOS, but I'm certain it will work there too.
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services