2
submitted 1 year ago* (last edited 1 year ago) by rlyehfhtagn@lemmy.ml to c/lemmy_support@lemmy.ml

When I run docker-compose up -d I receive the following error

unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /docker: no such file or directory

ERROR: Service 'lemmy' failed to build : Build failed

I'm not sure where I'm going wrong here.

EDIT: I believe I've gotten this resolved. I followed another guide that included a script file to install docker-compose and docker-ce. Even though I installed docker-compose and docker.io like the official documentation instructed.

The command docker-compose up -d ran. However, it I'm not sure it's working, or how long I should expect it to be taking. Right now the terminal is showing "building 1146.4s (2/2). It's counting up the seconds and continues to as I type it. How long should I be expecting this to take on a machine with 16gb ram, and an i5-9300H?

top 1 comments
sorted by: hot top controversial new old
[-] root@lemmy.run 1 points 1 year ago

Seems like you are trying to build the docker image locally for your service. And you missed the dockerfile which contains all the information about building the container.

this post was submitted on 17 Jun 2023
2 points (100.0% liked)

Lemmy Support

4657 readers
2 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS