# Struggling to get started

**URL:** <https://dragonfly.discourse.group/t/struggling-to-get-started/117>\
**Category:** Dragonfly Technical\
**Created:** [October 22, 2023, 12:37am UTC](https://dragonfly.discourse.group/t/struggling-to-get-started/117 "2023-10-22T00:37:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![funny-newt](https://avatars.discourse-cdn.com/v4/letter/f/df788c/32.png) [@funny-newt](https://dragonfly.discourse.group/u/funny-newt)\
**Post date:** [October 22, 2023, 12:37am UTC](https://dragonfly.discourse.group/t/struggling-to-get-started/117/1 "2023-10-22T00:37:02Z")

</div>

I’ve run the docker install on Windows 11 and a terminal pops up with the init output but I cannot seem to connect to it at all.  
docker run --network=host --ulimit memlock=-1 [docker.dragonflydb.io/dragonflydb/dragonfly](http://docker.dragonflydb.io/dragonflydb/dragonfly)  
I20231021 20:28:57.025195 1 init.cc:70] dragonfly running in opt mode.  
I20231021 20:28:57.025260 1 dfly\_main.cc:798] Starting dragonfly df-v1.11.0-c6f8f3882a276f6016042016c94401242d9c5365  
W20231021 20:28:57.025310 1 dfly\_main.cc:837] SWAP is enabled. Consider disabling it when running Dragonfly.  
I20231021 20:28:57.025331 1 dfly\_main.cc:842] maxmemory has not been specified. Deciding myself…  
I20231021 20:28:57.025336 1 dfly\_main.cc:851] Found 14.27GiB available memory. Setting maxmemory to 11.41GiB  
W20231021 20:28:57.025367 1 dfly\_main.cc:520] iouring API is not supported. switching to epoll.

- Logs will be written to the first available of the following paths:  
/tmp/dragonfly.\*  
./dragonfly.\*
- For the available flags type dragonfly [–help | --helpfull]
- Documentation can be found at: [https://www.dragonflydb.io/docs](https://www.dragonflydb.io/docs)  
I20231021 20:28:57.030556 1 proactor\_pool.cc:147] Running 16 io threads  
I20231021 20:28:57.056466 1 snapshot\_storage.cc:112] Load snapshot: Searching for snapshot in directory: “/data”  
W20231021 20:28:57.056546 1 server\_family.cc:466] Load snapshot: No snapshot found  
I20231021 20:28:57.062083 10 listener\_interface.cc:83] sock[36] AcceptServer - listening on port 6379

I have also tried on Ubuntu on WSL2 with the same issue.  
I’ve used a Redis graph DB and am wanting to move to DragonflyDB but don’t seem to be able to get past this first basic step.

---

<div class="post-metadata">

**Author:** ![funny-newt](https://avatars.discourse-cdn.com/v4/letter/f/df788c/32.png) [@funny-newt](https://dragonfly.discourse.group/u/funny-newt)\
**Post date:** [October 23, 2023, 11:55pm UTC](https://dragonfly.discourse.group/t/struggling-to-get-started/117/2 "2023-10-23T23:55:32Z")

</div>

OK, tried this command instead (from another forum post) docker run --ulimit memlock=-1 --name dragonfly -d -p 0.0.0.0:6379:6379 --restart=always [docker.dragonflydb.io/dragonflydb/dragonfly](http://docker.dragonflydb.io/dragonflydb/dragonfly)

---

<div class="post-metadata">

**Author:** ![funny-newt](https://avatars.discourse-cdn.com/v4/letter/f/df788c/32.png) [@funny-newt](https://dragonfly.discourse.group/u/funny-newt)\
**Post date:** [October 23, 2023, 11:56pm UTC](https://dragonfly.discourse.group/t/struggling-to-get-started/117/3 "2023-10-23T23:56:21Z")

</div>

Now I have a database I can connect to on localhost:6379. It is running as a daemon.
