suubi7
(SSEBAANA Suubi Joshua)
November 3, 2023, 2:59pm
1
Hello here
I am trying to deploy the openmrs-distro-referenceapplication on my machine on docker. But whenever I try to build the project using docker compose build I get these two errors.
=> ERROR [openmrs/openmrs-reference-application-3-backend:qa] resolve image config for docker.io/docker/dockerfi 37.6s
=> ERROR [openmrs/openmrs-reference-application-3-gateway:qa] resolve image config for docker.io/docker/dockerfi 28.3s
Not sure where the problem is coming from.
@nsanzimanagilbert @ibacher @dkayiwa
dkayiwa
(Daniel Kayiwa)
November 4, 2023, 8:59pm
2
Can you share the full build log via pastebin.com ?
dkayiwa
(Daniel Kayiwa)
November 5, 2023, 8:46pm
4
1 Like
suubi7
(SSEBAANA Suubi Joshua)
November 6, 2023, 3:13pm
5
The build was successful thank you. @dkayiwa
dkayiwa
(Daniel Kayiwa)
November 6, 2023, 3:20pm
6
It greatly helps others sharing what you exactly did to fix this.
1 Like
suubi7
(SSEBAANA Suubi Joshua)
November 7, 2023, 10:51am
7
Oh yes sure
I went to docker desktop
I opened the settings
Went the option of Docker Engine.
then I changed the docker buildkit variable from true to false.
After this I didnt have any errors when building in docker.
After build though I got another error Error while running the docker compose up - Pastebin.com
I tried stopping the images already running on this port but still I get this error Error Log when I clear the images used by port 80 - Pastebin.com
1 Like
dkayiwa
(Daniel Kayiwa)
November 7, 2023, 12:03pm
8
Do you still get the exact same error even after restarting your computer?
suubi7
(SSEBAANA Suubi Joshua)
November 7, 2023, 12:53pm
9
Yes I get the same error even when i restart.
dkayiwa
(Daniel Kayiwa)
November 7, 2023, 8:57pm
10
Can you scan for the process which is using that port on your operating system?
wikumc
(Wikum Weerakutti)
November 8, 2023, 2:09am
11
I faced a similar issue before. If you have Nginx installed on your PC disable it.
suubi7
(SSEBAANA Suubi Joshua)
November 8, 2023, 2:35pm
12
I used sudo lsof -i :80 to check which services are in use and stopped them all.
I run docker compose up again but it has taken like 2 hours to and it is still running.
suubi7
(SSEBAANA Suubi Joshua)
November 8, 2023, 2:37pm
13
Let me try this. Though the intial error was that I didnt have Ngnix, and I installed it but let me try disabling it.
suubi7
(SSEBAANA Suubi Joshua)
November 9, 2023, 2:44pm
14
Actually I didnt have Nginx installed.