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?

  • root@lemmy.run
    link
    fedilink
    arrow-up
    1
    ·
    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.