Docker Compose up --build not working

shubham_mojad_8fcf948a05b

Shubham Mojad

Posted on June 21, 2024

Docker Compose up --build not working

RHEL version - Red Hat Enterprise Linux release 8.9 (Ootpa)

[root@acer abmcl]# ls
assets backend docker docker-compose.yml docs frontend nginx package.json package-lock.json README.md server
[root@acer-BILLATMTN abmcl]# docker compose up --build
WARN[0000] /home/BillingAutomation/abmcl/docker-compose.yml: version is obsolete
[+] Building 51.1s (7/9) docker:default
=> [backend internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 299B 0.0s
=> [backend internal] load metadata for docker.io/library/python:3.11 2.1s
=> [backend internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [backend 1/5] FROM docker.io/library/python:3.11@sha256:01b1035a2912ade481cf6db2381dc10c97ee19a4f670b056138517e22d8ea1c5 0.0s
=> [backend internal] load build context 0.0s
=> => transferring context: 783.83kB 0.0s
=> CACHED [backend 2/5] WORKDIR /server 0.0s
=> CACHED [backend 3/5] COPY requirements.txt . 0.0s
=> [backend 4/5] RUN pip install -r requirements.txt 48.9s
=> => # WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(' => => # tion object at 0x7f4036ad0110>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/fastapi/
=> => # WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(' => => # tion object at 0x7f4036ad0910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/fastapi/
=> => # WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(' => => # tion object at 0x7f4036ab0810>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/fastapi/

💖 💪 🙅 🚩
shubham_mojad_8fcf948a05b
Shubham Mojad

Posted on June 21, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related