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

Lemmy Support

4660 readers
30 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] root@lemmy.run 2 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.