# Running OpenELIS directly with Docker docker Compose

**URL:** <https://talk.openelis-global.org/t/running-openelis-directly-with-docker-docker-compose/171>\
**Category:** Implementing\
**Created:** [November 6, 2023, 11:21am UTC](https://talk.openelis-global.org/t/running-openelis-directly-with-docker-docker-compose/171 "2023-11-06T11:21:32Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Moses\_Mutesasira](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/moses_mutesasira/32/72_2.png) [@Moses\_Mutesasira](https://talk.openelis-global.org/u/Moses_Mutesasira)\
**Post date:** [November 6, 2023, 11:21am UTC](https://talk.openelis-global.org/t/running-openelis-directly-with-docker-docker-compose/171/1 "2023-11-06T11:21:32Z")

</div>

You can Run OpenELIS directly with docker-compose without first downloading the [installer](https://www.dropbox.com/sh/47lagjht4ynpcg8/AABORyLmkpVTtRReeD6wSnJra?dl=0).

- Install docker and docker-compose

- Clone the project at [GitHub - I-TECH-UW/openelis-docker: Docker Compose setup for OpenELIS-Global2](https://github.com/I-TECH-UW/openelis-docker) .  
`git clone https://github.com/I-TECH-UW/openelis-docker.git `.

- See instructions in the project [readMe](https://github.com/I-TECH-UW/openelis-docker/blob/main/README.md) to spin up either the OpenELIS2x or OpenELIS 3x Instance

---

<div class="post-metadata">

**Author:** ![basrem](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/basrem/32/95_2.png) [@basrem](https://talk.openelis-global.org/u/basrem)\
**Post date:** [November 13, 2023, 12:40pm UTC](https://talk.openelis-global.org/t/running-openelis-directly-with-docker-docker-compose/171/2 "2023-11-13T12:40:50Z")

</div>

Thanks, going to give this a spin and revert

---

<div class="post-metadata">

**Author:** ![basrem](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/basrem/32/95_2.png) [@basrem](https://talk.openelis-global.org/u/basrem)\
**Post date:** [November 15, 2023, 3:24pm UTC](https://talk.openelis-global.org/t/running-openelis-directly-with-docker-docker-compose/171/3 "2023-11-15T15:24:59Z")

</div>

Hi @Moses_Mutesasira , I have tried following the steps and successfully cloned the project.  
However, on running the `docker-compose up -d` or the `docker-compose -f docker-compose-2x.yml up -d ` commands I ran into the same error  
Error response from daemon: Head “[https://ghcr.io/v2/i-tech-uw/certgen/manifests/main](https://ghcr.io/v2/i-tech-uw/certgen/manifests/main)”: denied: denied

How can I go about this?

---

<div class="post-metadata">

**Author:** ![Moses\_Mutesasira](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/moses_mutesasira/32/72_2.png) [@Moses\_Mutesasira](https://talk.openelis-global.org/u/Moses_Mutesasira)\
**Post date:** [November 15, 2023, 3:40pm UTC](https://talk.openelis-global.org/t/running-openelis-directly-with-docker-docker-compose/171/4 "2023-11-15T15:40:52Z")

</div>

@thembo42 , did you succeed running OpenELIS with Docker-compose ??  
did you run into any such issue ??

---

<div class="post-metadata">

**Author:** ![thembo42](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/thembo42/32/77_2.png) [@thembo42](https://talk.openelis-global.org/u/thembo42)\
**Post date:** [November 15, 2023, 4:00pm UTC](https://talk.openelis-global.org/t/running-openelis-directly-with-docker-docker-compose/171/5 "2023-11-15T16:00:05Z")

</div>

sure, I did set up successfully, the only change was to upgrade my java version.  
I did not see such an issue.

---

<div class="post-metadata">

**Author:** ![Moses\_Mutesasira](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/moses_mutesasira/32/72_2.png) [@Moses\_Mutesasira](https://talk.openelis-global.org/u/Moses_Mutesasira)\
**Post date:** [November 15, 2023, 5:15pm UTC](https://talk.openelis-global.org/t/running-openelis-directly-with-docker-docker-compose/171/6 "2023-11-15T17:15:19Z")

</div>

@basrem , i dont think ive ever ran into that issue . I’ve ran the docker-setup on multiple servers and it works fine .  
A quick Google search landed me on this [StackOverflow thread](https://stackoverflow.com/questions/74656167/unable-to-pull-image-from-github-container-registry-ghcr)

---

<div class="post-metadata">

**Author:** ![basrem](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/basrem/32/95_2.png) [@basrem](https://talk.openelis-global.org/u/basrem)\
**Post date:** [November 15, 2023, 5:21pm UTC](https://talk.openelis-global.org/t/running-openelis-directly-with-docker-docker-compose/171/7 "2023-11-15T17:21:47Z")

</div>

Thanks, will revert with progress

---

<div class="post-metadata">

**Author:** ![Moses\_Mutesasira](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/moses_mutesasira/32/72_2.png) [@Moses\_Mutesasira](https://talk.openelis-global.org/u/Moses_Mutesasira)\
**Post date:** [November 20, 2023, 7:24pm UTC](https://talk.openelis-global.org/t/running-openelis-directly-with-docker-docker-compose/171/8 "2023-11-20T19:24:39Z")

</div>

@basrem , I updated our CI to push images to [Docker Hub](https://hub.docker.com/r/itechuw/) instead of the [GitHub Container Registry.](https://github.com/orgs/I-TECH-UW/packages?repo_name=OpenELIS-Global-2)  
I updated the docker-compose setup to pull images from Docker hub .

If you pull the latest changes I made, it should solve your problem

---

<div class="post-metadata">

**Author:** ![basrem](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/basrem/32/95_2.png) [@basrem](https://talk.openelis-global.org/u/basrem)\
**Post date:** [November 21, 2023, 10:14am UTC](https://talk.openelis-global.org/t/running-openelis-directly-with-docker-docker-compose/171/9 "2023-11-21T10:14:16Z")

</div>

Thanks, @Moses_Mutesasira been able to start the 3.X version of OE

I am curious, how come the previous solution didn’t work, if you don’t mind, it is helpful for me in my learning curve. Thanks again!

---

<div class="post-metadata">

**Author:** ![Moses\_Mutesasira](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/moses_mutesasira/32/72_2.png) [@Moses\_Mutesasira](https://talk.openelis-global.org/u/Moses_Mutesasira)\
**Post date:** [November 21, 2023, 10:24am UTC](https://talk.openelis-global.org/t/running-openelis-directly-with-docker-docker-compose/171/10 "2023-11-21T10:24:11Z")

</div>

hello @basrem  
I can’t really give a concrete reason but in general, there are sometimes authentication issues with the GitHub container registry .  
So I just switched to Docker hub .

---

<div class="post-metadata">

**Author:** ![basrem](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/basrem/32/95_2.png) [@basrem](https://talk.openelis-global.org/u/basrem)\
**Post date:** [November 22, 2023, 9:50am UTC](https://talk.openelis-global.org/t/running-openelis-directly-with-docker-docker-compose/171/11 "2023-11-22T09:50:56Z")

</div>

Hey @Moses_Mutesasira. I tried following the above steps using Gitpod, but the ports all show different errors, is there a specific guide for such an avenue of setup

---

<div class="post-metadata">

**Author:** ![Moses\_Mutesasira](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/moses_mutesasira/32/72_2.png) [@Moses\_Mutesasira](https://talk.openelis-global.org/u/Moses_Mutesasira)\
**Post date:** [November 22, 2023, 6:57pm UTC](https://talk.openelis-global.org/t/running-openelis-directly-with-docker-docker-compose/171/12 "2023-11-22T18:57:03Z")

</div>

can you be specific about which port you’re trying to access and the error ??  
And also , to avoid proxy related issues , access the app through the ports routed to your localhost
