# Self hosted Docker instance

**URL:** <https://forum.obsidian.md/t/self-hosted-docker-instance/3788>\
**Category:** Workflows & Templates\
**Created:** [July 29, 2020, 1:03am UTC](https://forum.obsidian.md/t/self-hosted-docker-instance/3788 "2020-07-29T01:03:17Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![TechWeasel](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/t/53a042/32.png) [@TechWeasel](https://forum.obsidian.md/u/TechWeasel)\
**Post date:** [July 29, 2020, 1:03am UTC](https://forum.obsidian.md/t/self-hosted-docker-instance/3788/1 "2020-07-29T01:03:17Z")

</div>

Would it be possible to deploy Obsidian inside a docker which could then be self-hosted behind a reverse proxy or accessed through a VPN? All files would then also remain self-hosted on an individual’s own infra.

---

<div class="post-metadata">

**Author:** ![lin](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/l/13edae/32.png) [@lin](https://forum.obsidian.md/u/lin)\
**Post date:** [July 29, 2020, 1:28am UTC](https://forum.obsidian.md/t/self-hosted-docker-instance/3788/2 "2020-07-29T01:28:45Z")

</div>

Hope Obsidian will support own server to store files

---

<div class="post-metadata">

**Author:** ![kbrede](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/k/13edae/32.png) [@kbrede](https://forum.obsidian.md/u/kbrede)\
**Post date:** [July 29, 2020, 2:22am UTC](https://forum.obsidian.md/t/self-hosted-docker-instance/3788/3 "2020-07-29T02:22:30Z")

</div>

Files by default are hosted locally. Local could be a PC hard drive, Dropbox, Google Drive, or a Docker instance in the cloud. Unless there’s some technical reason you can’t get Obsidian to run in Docker.

---

<div class="post-metadata">

**Author:** ![TechWeasel](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/t/53a042/32.png) [@TechWeasel](https://forum.obsidian.md/u/TechWeasel)\
**Post date:** [July 29, 2020, 11:28am UTC](https://forum.obsidian.md/t/self-hosted-docker-instance/3788/4 "2020-07-29T11:28:57Z")

</div>

I’m more than willing to give this a go, but an official docker release along the lines of VScode would streamline the process of multiple interested parties each rolling thier own interpretation of the container.

---

<div class="post-metadata">

**Author:** ![TechWeasel](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/t/53a042/32.png) [@TechWeasel](https://forum.obsidian.md/u/TechWeasel)\
**Post date:** [October 2, 2020, 1:45pm UTC](https://forum.obsidian.md/t/self-hosted-docker-instance/3788/5 "2020-10-02T13:45:43Z")

</div>

The publish functionality goes some way to achieving what I am after. That said using the Obsidian model the data no longer resides on my infra, and I’m not sure you can edit in the published webpage.

HAs anyone managed to roll a Containerised version of Obsidian and host it locally?

---

<div class="post-metadata">

**Author:** ![Kouru225](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/k/f19dbf/32.png) [@Kouru225](https://forum.obsidian.md/u/Kouru225)\
**Post date:** [September 13, 2021, 5:30pm UTC](https://forum.obsidian.md/t/self-hosted-docker-instance/3788/6 "2021-09-13T17:30:20Z")

</div>

+1 to this.

I have an unraid server I’m using to backup everything and being able to run an Obsidian docker container would be great.

---

<div class="post-metadata">

**Author:** ![2fst4u](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/2/54ee81/32.png) [@2fst4u](https://forum.obsidian.md/u/2fst4u)\
**Post date:** [December 3, 2021, 7:47pm UTC](https://forum.obsidian.md/t/self-hosted-docker-instance/3788/7 "2021-12-03T19:47:12Z")

</div>

I created an account just to upvote this. Docker container release is a must in today’s world.

---

<div class="post-metadata">

**Author:** ![TheUsefulWalrus](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/t/839c29/32.png) [@TheUsefulWalrus](https://forum.obsidian.md/u/TheUsefulWalrus)\
**Post date:** [January 27, 2022, 3:53pm UTC](https://forum.obsidian.md/t/self-hosted-docker-instance/3788/8 "2022-01-27T15:53:27Z")

</div>

I haven’t tried it myself, but I found this that might help you:

> **[r/ObsidianMD - Has anyone here tried to virtualize Obsidian in docker container?](https://www.reddit.com/r/ObsidianMD/comments/s13lp5/comment/hsy42qq/?utm_source=share&utm_medium=web2x&context=3)**
>
> 16 votes and 15 comments so far on Reddit

---

<div class="post-metadata">

**Author:** ![sytone](https://forum.obsidian.md/user_avatar/forum.obsidian.md/sytone/32/21785_2.png) [@sytone](https://forum.obsidian.md/u/sytone)\
**Post date:** [March 14, 2022, 5:24am UTC](https://forum.obsidian.md/t/self-hosted-docker-instance/3788/9 "2022-03-14T05:24:50Z")

</div>

I created a docker container to run obsidian in the browser. Allows you to run it on a headless machine and access remotely to sync and backup as needed. Will add support for the obsidian API plugin at some point so the ports are exposed for local access.

```auto
docker run -d -v D:/vaults:/vaults -p 8080:8080 --name obsidian-remote ghcr.io/sytone/obsidian-remote:latest

```

Use [http://localhost:8080/](http://localhost:8080/) to access, or the remote machine name if you are running docker remotely.

Feel free to comment or request updates  
[GitHub - sytone/obsidian-remote: Run Obsidian.md in a browser via a docker container.](https://github.com/sytone/obsidian-remote)

---

<div class="post-metadata">

**Author:** ![sytone](https://forum.obsidian.md/user_avatar/forum.obsidian.md/sytone/32/21785_2.png) [@sytone](https://forum.obsidian.md/u/sytone)\
**Post date:** [March 14, 2022, 5:38am UTC](https://forum.obsidian.md/t/self-hosted-docker-instance/3788/10 "2022-03-14T05:38:27Z")

</div>

ok, one issue was that configuration was not stored. Updated the command line. This means the same vault will open if you restart/recreate the container.

```auto
docker run -d \
  -v D:/ob/vaults:/vaults \
  -v D:/ob/config:/config/.config/obsidian \
  -p 8080:8080 \
  --name obsidian-remote \
  ghcr.io/sytone/obsidian-remote:latest

```

---

<div class="post-metadata">

**Author:** ![Fonso](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/f/6bbea6/32.png) [@Fonso](https://forum.obsidian.md/u/Fonso)\
**Post date:** [March 15, 2022, 11:51am UTC](https://forum.obsidian.md/t/self-hosted-docker-instance/3788/11 "2022-03-15T11:51:11Z")

</div>

It works flawlessly.

Thanks!!

---

<div class="post-metadata">

**Author:** ![HernanV](https://forum.obsidian.md/user_avatar/forum.obsidian.md/hernanv/32/13432_2.png) [@HernanV](https://forum.obsidian.md/u/HernanV)\
**Post date:** [March 18, 2022, 2:41pm UTC](https://forum.obsidian.md/t/self-hosted-docker-instance/3788/12 "2022-03-18T14:41:27Z")

</div>

Awesome, but just wondering, which will be the power of create a containerised version of Obsidian? Just to take some ideas, how your workflows will improve or which use cases will get the most of this?

---

<div class="post-metadata">

**Author:** ![winterwulf](https://forum.obsidian.md/user_avatar/forum.obsidian.md/winterwulf/32/27561_2.png) [@winterwulf](https://forum.obsidian.md/u/winterwulf)\
**Post date:** [March 19, 2022, 12:04am UTC](https://forum.obsidian.md/t/self-hosted-docker-instance/3788/13 "2022-03-19T00:04:29Z")

</div>

Created my acc here to post it. Would be awesome, although I don’t really care much about docker, being able to host it with node.js would be enough for my use case.

---

<div class="post-metadata">

**Author:** ![sytone](https://forum.obsidian.md/user_avatar/forum.obsidian.md/sytone/32/21785_2.png) [@sytone](https://forum.obsidian.md/u/sytone)\
**Post date:** [March 19, 2022, 5:19am UTC](https://forum.obsidian.md/t/self-hosted-docker-instance/3788/14 "2022-03-19T05:19:35Z")

</div>

If you use the obsidian API plugin you can get programmatic access to your vault to do any sort of magic you want. I also use it as a RO version for access and to top it off have the vault directory backed up with the rest of the documents for the family.

Backups are always handy 😃

As a note I fixed some issues and updated the documentation a bit more so update the container if you are running it.

---

<div class="post-metadata">

**Author:** ![winterwulf](https://forum.obsidian.md/user_avatar/forum.obsidian.md/winterwulf/32/27561_2.png) [@winterwulf](https://forum.obsidian.md/u/winterwulf)\
**Post date:** [March 25, 2022, 3:42pm UTC](https://forum.obsidian.md/t/self-hosted-docker-instance/3788/15 "2022-03-25T15:42:04Z")

</div>

Hi, I really appreciate your effort and the fact you share it with all of us 🙂

I am still new to this (docker, programming, linux and all) so I have this question:  
When obsidian launchs an update, do it automatic updates the docker version or you have to manually do so?

---

<div class="post-metadata">

**Author:** ![sytone](https://forum.obsidian.md/user_avatar/forum.obsidian.md/sytone/32/21785_2.png) [@sytone](https://forum.obsidian.md/u/sytone)\
**Post date:** [March 27, 2022, 4:53am UTC](https://forum.obsidian.md/t/self-hosted-docker-instance/3788/16 "2022-03-27T04:53:10Z")

</div>

When it restarts it will automatically update in the docker container. Ill update every once in a while but the docker container version is not related to the Obsidian version and Obsidian can update all by itself.

---

<div class="post-metadata">

**Author:** ![ea42gh](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/e/e47774/32.png) [@ea42gh](https://forum.obsidian.md/u/ea42gh)\
**Post date:** [June 6, 2022, 12:06pm UTC](https://forum.obsidian.md/t/self-hosted-docker-instance/3788/17 "2022-06-06T12:06:21Z")

</div>

I don’t know enough to use this for what I really would like to have:  
obsidian:  
\* pdf text book with annotation, links to other md notes  
\* open associated jupyter notebooks  
all in browser windows.

What would be really awsesone would be the ability to run obsidian  
within a jupyter tab: I tried using a jupyter terminal to launch obsidian,  
but it unfortunately opens a separate window.

Any pointers?

---

<div class="post-metadata">

**Author:** ![alastair](https://forum.obsidian.md/user_avatar/forum.obsidian.md/alastair/32/20288_2.png) [@alastair](https://forum.obsidian.md/u/alastair)\
**Post date:** [July 4, 2022, 12:29pm UTC](https://forum.obsidian.md/t/self-hosted-docker-instance/3788/18 "2022-07-04T12:29:55Z")

</div>

Hi, I might be missing something but this does not seem to be working as intended, maybe you can help? I’m deploying to a docker engine running on my Synology. It seems to start ok, and then I open a browser window and I see “Obsidian v0.13.31” in the title bar, but the window is empty except for a dot on the left side, which opens up to some tools. No obsidian in the main window. Not sure how to troubleshoot, any pointers appreciated.

---

<div class="post-metadata">

**Author:** ![scholarInTraining](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/s/cc9497/32.png) [@scholarInTraining](https://forum.obsidian.md/u/scholarInTraining)\
**Post date:** [July 4, 2022, 3:53pm UTC](https://forum.obsidian.md/t/self-hosted-docker-instance/3788/19 "2022-07-04T15:53:48Z")

</div>

> [@alastair](#):
>
> Obsidian v0.13.31

That is a quite old version of Obsidian! Current stable is 0.14.15 and I believe I have read here in the forums that an installer update was necessary around the increase to 0.14. Not sure that will solve the problem, but one can hope!

---

<div class="post-metadata">

**Author:** ![alastair](https://forum.obsidian.md/user_avatar/forum.obsidian.md/alastair/32/20288_2.png) [@alastair](https://forum.obsidian.md/u/alastair)\
**Post date:** [July 4, 2022, 10:32pm UTC](https://forum.obsidian.md/t/self-hosted-docker-instance/3788/20 "2022-07-04T22:32:32Z")

</div>

> That is a quite old version of Obsidian!

Yes it is, I guess the docker image hasn’t been updated in a while. Feels like a more fundamental problem though. Thanks for the input, will update here if I get it working.

[Next page](https://forum.obsidian.md/t/self-hosted-docker-instance/3788.md?page=2)
