Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmy.ml
lemmy_support·Lemmy Supportbyrlyehfhtagn

Running into trouble setting up lemmy via docker

I'm following the steps outlined in the official documentation at https://join-lemmy.org.

When I run

docker-compose up -d

It returns the following error

failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount182554177/Dockerfile: no such file or directory

Here's a screenshot from my terminal. https://i.imgur.com/Y27cfXf.png

How do I correct this?

EDIT: I've been researching this the best I can for some time now. The most common suggestion is to make sure that the Dockerfile is spelled correctly in the docker-compose.yml. It is.

Am I supposed to be creating a Dockerfile and fill it with some information? Is this intentionally left unaddressed by the guide for docker install? Is there some prerequisite I'm not fulfilling that the guide doesn't address?

View original on lemmy.ml
1

2 replies

beehaw.org

I am having the same issue. It looks like the docker guide is missing setting up the Docker file...

edit: I appear to have figured this out. You need to download the Dockerfile from https://raw.githubusercontent.com/LemmyNet/lemmy/main/docker/Dockerfile and save it to $HOME/docker . This should be updated in the documentation...

its actually even easier than that. Just do git clone https://github.com/LemmyNet/lemmy.git, cd into lemmy/docker, make the config changes you need, then run docker-compose up -d

looks like there is already a PR about this: https://github.com/LemmyNet/lemmy/issues/3117

0

You reached the end

Running into trouble setting up lemmy via docker | Spyke