# How do I ssh into the Pi-hole docker

**URL:** <https://discourse.pi-hole.net/t/how-do-i-ssh-into-the-pi-hole-docker/18568>\
**Category:** docker\
**Created:** [March 20, 2019, 8:24pm UTC](https://discourse.pi-hole.net/t/how-do-i-ssh-into-the-pi-hole-docker/18568 "2019-03-20T20:24:20Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![mrdrew](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/mrdrew/32/32961_2.png) [@mrdrew](https://discourse.pi-hole.net/u/mrdrew)\
**Post date:** [November 20, 2022, 5:52pm UTC](https://discourse.pi-hole.net/t/how-do-i-ssh-into-the-pi-hole-docker/18568/9 "2022-11-20T17:52:47Z")

</div>

I found this thread because I'm trying to do a two way sync between pihole installations. One is a docker, and the other is on a rpi. Haven't figured it out yet.  
This looks like what I was looking for:

> [@Gravity Sync, an easy way to keep multiple Pi-hole In-sync](https://discourse.pi-hole.net/t/gravity-sync-an-easy-way-to-keep-multiple-pi-hole-in-sync/33545):
>
> What is better than a Pi-hole blocking ads via DNS on your network? That's right, Two Pi-hole! But if you have more than one Pi-hole (PH) in your network you'll want a simple way to keep the list configurations identical between the two. I've recently been toiling away at a script to do exactly this, and what started as a few lines lines of bash was shared with some friends, and has grown into what I now call Gravity Sync -- which I'd now like to share with you all for your feedback. [https://gi…](https://github.com/vmstan/gravity-sync)

then to here:  
[https://github.com/vmstan/gravity-sync](https://github.com/vmstan/gravity-sync)

---

_[View the full topic](https://discourse.pi-hole.net/t/how-do-i-ssh-into-the-pi-hole-docker/18568)._
