How to run a pulled discourse image on digitalocean docker?

סיכום מבוסס בינה מלאכותית

A user asks how to run a pulled Discourse Docker image on DigitalOcean, having modified and pushed their own image to DockerHub. wythhh is seeking help as the image doesn’t run properly. Stephen clarifies that direct modifications to the image are not supported. Remah provides links to past discussions on Discourse Docker images. pfaffman explains that while building and running a custom image is possible, it’s not recommended for beginners; instead, modifications should be made via app.yml or plugins.

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, How To Install Discourse on Ubuntu 16.04 | DigitalOcean.

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.

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

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

2015-2018

2018

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.