# How to run a pulled discourse image on digitalocean docker?

**URL:** https://meta.discourse.org/t/how-to-run-a-pulled-discourse-image-on-digitalocean-docker/102262
**Category:** Support
**Tags:** unsupported-install
**Created:** [11월 18, 2018, 5:54오전 UTC](https://meta.discourse.org/t/how-to-run-a-pulled-discourse-image-on-digitalocean-docker/102262 "2018-11-18T05:54:03Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![wythhh](https://avatars.discourse-cdn.com/v4/letter/w/e56c9b/32.png) [@wythhh](https://meta.discourse.org/u/wythhh)
#### Post date: [11월 18, 2018, 5:54오전 UTC](https://meta.discourse.org/t/how-to-run-a-pulled-discourse-image-on-digitalocean-docker/102262/1 "2018-11-18T05:54:03Z")

</div>

Hi, I’m a newbie in docker and discourse and today I encountered a problem. I follow these two posts to install docker and discourse: [How To Install and Use Docker on Ubuntu 18.04 | DigitalOcean](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-18-04), [How To Install Discourse on Ubuntu 16.04 | DigitalOcean](https://www.digitalocean.com/community/tutorials/how-to-install-discourse-on-ubuntu-16-04).

After I set up my discourse, I did some modification on it, committed it to a docker image and pushed the image to dockerhub. Then I tried to pull the image from dockerhub and run it to get my discourse, but after I typed docker run my\_image in terminal, it seemed this did not work. I googled online but did not find a good answer. Anyone has the idea on how to run this image? Thank you.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [11월 18, 2018, 10:12오전 UTC](https://meta.discourse.org/t/how-to-run-a-pulled-discourse-image-on-digitalocean-docker/102262/2 "2018-11-18T10:12:49Z")

</div>

Direct modification of the image isn’t supported. Discourse can be modified in a supportable fashion through the app.yml and through plugins.

---

<div class="post-metadata">

### Author: ![Remah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/remah/32/70590_2.png) [@Remah](https://meta.discourse.org/u/Remah)
#### Post date: [11월 18, 2018, 10:45오전 UTC](https://meta.discourse.org/t/how-to-run-a-pulled-discourse-image-on-digitalocean-docker/102262/3 "2018-11-18T10:45:15Z")

</div>

If you want more background about Docker images for Discourse then here’s a couple of topics:

2015-2018

> [@Can Discourse ship frequent Docker images that do not need to be bootstrapped?](https://meta.discourse.org/t/can-discourse-ship-frequent-docker-images-that-do-not-need-to-be-bootstrapped/33205):
>
> There is this [open issue](https://github.com/discourse/discourse_docker/issues/186) (which I just closed) on Discourse Docker repo asking Discourse should behave like a standard docker image a docker user excepts to be able to run discourse without a special launcher. to define multiple containers (redis, postgres, discourse,..), links and volumes, docker-compose should be used instead. [Docker Compose | Docker Docs](https://docs.docker.com/compose/) The question is somewhat misguided, but I would like to address a broader one of Can Discourse ship frequent Docker images that do …

2018

> [@Community supported official docker image](https://meta.discourse.org/t/community-supported-official-docker-image/83768):
>
> I really would like to have an official helm chart for discourse with an official docker image. I just opened [this issue](https://github.com/docker-library/official-images/issues/4169). I’d like to have the consent of the discourse maintainers to make this happening. Hope you can help make this happen. All you need to do is to give a yes slight_smile Thanks!

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [11월 18, 2018, 12:26오후 UTC](https://meta.discourse.org/t/how-to-run-a-pulled-discourse-image-on-digitalocean-docker/102262/4 "2018-11-18T12:26:05Z")

</div>

The way to build an image is following the install cloud document. You don’t want to make changes to the code by hand. You’ll need to make a plugin (but lots of stuffyou can do in a theme).

It’s possible to build an image, push it to docker hub, and run it elsewhere, but if you’re just starting auth discourse, you don’t want to do that.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [9월 10, 2021, 8:15오전 UTC](https://meta.discourse.org/t/how-to-run-a-pulled-discourse-image-on-digitalocean-docker/102262/5 "2021-09-10T08:15:30Z")

</div>



---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [10월 12, 2021, 12:48오전 UTC](https://meta.discourse.org/t/how-to-run-a-pulled-discourse-image-on-digitalocean-docker/102262/6 "2021-10-12T00:48:39Z")

</div>


