diff --git a/docs/quick-start/README.md b/docs/quick-start/README.md index 72f5a3411..157c7aebd 100644 --- a/docs/quick-start/README.md +++ b/docs/quick-start/README.md @@ -14,10 +14,20 @@ If you do not have docker on your machine, [Install Docker](https://docs.docker. ## Step 1 +### On linux + ```bash docker run --network=host --ulimit memlock=-1 docker.dragonflydb.io/dragonflydb/dragonfly ``` +### On macOS + +_`network=host` doesn't work well on macOS, see [this issue](https://github.com/docker/for-mac/issues/1031)_ + +```bash +docker run --p 6379:6379 --ulimit memlock=-1 docker.dragonflydb.io/dragonflydb/dragonfly +``` + Dragonfly DB will answer to both `http` and `redis` requests out of the box! You can use `redis-cli` to connect to `localhost:6379` or open a browser and visit `http://localhost:6379`