# Obsidian Remote: Running Obsidian in docker with browser-based access

**URL:** <https://forum.obsidian.md/t/obsidian-remote-running-obsidian-in-docker-with-browser-based-access/34312>\
**Category:** Workflows & Templates\
**Tags:** win, linux, macos\
**Created:** [March 19, 2022, 9:01pm UTC](https://forum.obsidian.md/t/obsidian-remote-running-obsidian-in-docker-with-browser-based-access/34312 "2022-03-19T21:01:23Z")\
**Posts on this page:** 13\
**Page:** 1

<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, 9:01pm UTC](https://forum.obsidian.md/t/obsidian-remote-running-obsidian-in-docker-with-browser-based-access/34312/1 "2022-03-19T21:01:23Z")

</div>

This docker image allows you to run obsidian in docker as a container and access it via your web browser. This was created because I wanted to run it on my home server so I can back up and use the obsidian API plugin to auto update parts of my vault.

I responded to a separate thread in the forum and on reddit and people seemed interested so creating a separate thread to track any updates or questions.

Please create an [New Issue](https://github.com/sytone/obsidian-remote/issues/new/choose) in GitHub if you have an issue and I will try to help. Look at the [README.md](https://github.com/sytone/obsidian-remote/blob/main/README.md) for more details.

Have Fun!

# Quick Start

After the container starts use http://IP\_OF\_DOCKER\_HOST:8080 to access. [http://127.0.0.1:8080](http://127.0.0.1:8080) if local.

## Bash

```bash
docker run --rm -it \
  -v /pathonhosttostoreyour/vaults:/vaults \
  -v /pathonhosttostoreinternalobsidian/config:/config \
  -p 8080:8080 \
  ghcr.io/sytone/obsidian-remote:latest

```

## PowerShell

```PowerShell
docker run --rm -it `
  -v D:/ob/vaults:/vaults `
  -v D:/ob/config:/config `
  -p 8080:8080 `
  ghcr.io/sytone/obsidian-remote:latest

```

## Latest Release: **Obsidian Remote v0.0.3**

- Updated menu so you can reopen Obsidian after closing it in the browser.
- Added clip showing close and restart of Obsidian in browser
- Format cleanup
- **Full Changelog** : [v0.0.2…v0.0.3](https://github.com/sytone/obsidian-remote/compare/v0.0.2...v0.0.3)

Source: [sytone/obsidian-remote: Run Obsidian.md in a browser via a docker container. (github.com)](https://github.com/sytone/obsidian-remote)

reference:  
[Original Thread](https://forum.obsidian.md/t/self-hosted-docker-instance/3788/9)

---

<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, 5:01am UTC](https://forum.obsidian.md/t/obsidian-remote-running-obsidian-in-docker-with-browser-based-access/34312/2 "2022-03-27T05:01:04Z")

</div>

# Version v0.1.0 Release

To update you need to pull the image and recreate. The Vaults will not be lost as they are mapped to the host. To update pull the image using the commands below. Update the command line to match your local configuration.

```PowerShell
docker pull ghcr.io/sytone/obsidian-remote:latest
docker stop obsidian-remote
docker rm obsidian-remote
docker run --rm -it `
  -v D:/ob/vaults:/vaults `
  -v D:/ob/config:/config `
  -p 8080:8080 `
  -p 27123:27123 `
  ghcr.io/sytone/obsidian-remote:latest

```

## What’s Changed

Feature:

- Expose ports for the Local REST API

**Full Changelog** : [Comparing v0.0.4...v0.1.0 · sytone/obsidian-remote · GitHub](https://github.com/sytone/obsidian-remote/compare/v0.0.4...v0.1.0)

---

<div class="post-metadata">

**Author:** ![JGNiDK](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/j/71c47a/32.png) [@JGNiDK](https://forum.obsidian.md/u/JGNiDK)\
**Post date:** [April 6, 2022, 9:42am UTC](https://forum.obsidian.md/t/obsidian-remote-running-obsidian-in-docker-with-browser-based-access/34312/3 "2022-04-06T09:42:07Z")

</div>

Can the port 8080 be changed, without any issues?  
I have other stuff on that port, which can’t be moved…

---

<div class="post-metadata">

**Author:** ![efemkay](https://forum.obsidian.md/user_avatar/forum.obsidian.md/efemkay/32/26644_2.png) [@efemkay](https://forum.obsidian.md/u/efemkay)\
**Post date:** [April 6, 2022, 11:00am UTC](https://forum.obsidian.md/t/obsidian-remote-running-obsidian-in-docker-with-browser-based-access/34312/4 "2022-04-06T11:00:08Z")

</div>

I managed to change it. Just replace the first half of the port (before `:`) like below

```auto
  -p 8989:8080

```

This will use your port 8989 instead

---

<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:** [May 3, 2022, 12:27am UTC](https://forum.obsidian.md/t/obsidian-remote-running-obsidian-in-docker-with-browser-based-access/34312/5 "2022-05-03T00:27:39Z")

</div>

Yep, just use the standard docker commands to change ports.

---

<div class="post-metadata">

**Author:** ![szdavid](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/s/5e9695/32.png) [@szdavid](https://forum.obsidian.md/u/szdavid)\
**Post date:** [May 3, 2022, 9:14am UTC](https://forum.obsidian.md/t/obsidian-remote-running-obsidian-in-docker-with-browser-based-access/34312/6 "2022-05-03T09:14:54Z")

</div>

Hello,

any plan to make it compatible with raspberry ? 🙂

---

<div class="post-metadata">

**Author:** ![host5](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/h/8c91f0/32.png) [@host5](https://forum.obsidian.md/u/host5)\
**Post date:** [August 13, 2022, 8:09pm UTC](https://forum.obsidian.md/t/obsidian-remote-running-obsidian-in-docker-with-browser-based-access/34312/7 "2022-08-13T20:09:55Z")

</div>

Is it possible to run it on raspberry pi 4? I would be a really great way for me to keep my notes accessible from different devices.

Thank you

---

<div class="post-metadata">

**Author:** ![jfritsche](https://forum.obsidian.md/user_avatar/forum.obsidian.md/jfritsche/32/38595_2.png) [@jfritsche](https://forum.obsidian.md/u/jfritsche)\
**Post date:** [December 1, 2022, 4:51am UTC](https://forum.obsidian.md/t/obsidian-remote-running-obsidian-in-docker-with-browser-based-access/34312/8 "2022-12-01T04:51:06Z")

</div>

Are there any step-by-step instructions anywhere on how to get this running on Raspberry Pi for a docker newbie? I see that you mention in the Readme that there is an ARM container on the docker hub, but I’m getting a message that it is the amd64 image.

---

<div class="post-metadata">

**Author:** ![Ubergoober](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/u/ee7513/32.png) [@Ubergoober](https://forum.obsidian.md/u/Ubergoober)\
**Post date:** [September 9, 2023, 9:24pm UTC](https://forum.obsidian.md/t/obsidian-remote-running-obsidian-in-docker-with-browser-based-access/34312/9 "2023-09-09T21:24:10Z")

</div>

There are some key binding conflicts between Obsidian and the host browser. For instance, a big one is CTRL-N for a new document. It instead yields a new browser window.

---

<div class="post-metadata">

**Author:** ![pages0123](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/p/f07891/32.png) [@pages0123](https://forum.obsidian.md/u/pages0123)\
**Post date:** [October 14, 2023, 1:20pm UTC](https://forum.obsidian.md/t/obsidian-remote-running-obsidian-in-docker-with-browser-based-access/34312/10 "2023-10-14T13:20:28Z")

</div>

Hello,  
I cannot copy a text in a note and paste to outside and vice versa

---

<div class="post-metadata">

**Author:** ![10110101](https://forum.obsidian.md/user_avatar/forum.obsidian.md/10110101/32/57523_2.png) [@10110101](https://forum.obsidian.md/u/10110101)\
**Post date:** [November 30, 2023, 8:41pm UTC](https://forum.obsidian.md/t/obsidian-remote-running-obsidian-in-docker-with-browser-based-access/34312/11 "2023-11-30T20:41:55Z")

</div>

In case you are using Chrome as your browser: starting Chrome in application mode should fix the key binding problem. e.g.

```auto
"path\to\chrome\chrome.exe" --app=http://<server>:<url>

```

---

<div class="post-metadata">

**Author:** ![rlh](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/r/9de053/32.png) [@rlh](https://forum.obsidian.md/u/rlh)\
**Post date:** [January 26, 2024, 1:19am UTC](https://forum.obsidian.md/t/obsidian-remote-running-obsidian-in-docker-with-browser-based-access/34312/12 "2024-01-26T01:19:59Z")

</div>

You update the image to expose the port 27123. But when I try to install the Local REST API it sends me an error and could not install the plug-in. Any idea?

Maybe is the plugin version , because it says version 2.0.5 and the plugin latest version is 2.0.4. But I don’t know how to change it.

By the way in the desktop Obsidian (no docker) it works ok.

---

<div class="post-metadata">

**Author:** ![bonsaihorn](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/b/45deac/32.png) [@bonsaihorn](https://forum.obsidian.md/u/bonsaihorn)\
**Post date:** [May 8, 2024, 8:34pm UTC](https://forum.obsidian.md/t/obsidian-remote-running-obsidian-in-docker-with-browser-based-access/34312/13 "2024-05-08T20:34:53Z")

</div>

So I can install desktop obsidian on my main device and set up a docker instance where the volumes point to my main data, that sounds fun!
