everywall / ladder

Selfhosted alternative to 12ft.io. and 1ft.io bypass paywalls with a proxy ladder and remove CORS headers from any URL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot run with docker - open /var/lib/docker/tmp/buildkit-mount669939737/Dockerfile: no such file or directory

peroxy opened this issue · comments

Trying to run the service on Ubuntu 21.10, using Docker version 20.10.12, build e91ed57.

I get this error:

~/dev  curl https://raw.githubusercontent.com/kubero-dev/ladder/main/docker-compose.yaml --output docker-compose.yaml
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   707  100   707    0     0   3399      0 --:--:-- --:--:-- --:--:--  3432
☁  ~/dev  docker-compose up
WARNING: The following deploy sub-keys are not supported and have been ignored: resources.reservations.cpus
Creating network "dev_default" with the default driver
Building ladder
[+] Building 0.1s (2/2) FINISHED                                                                                                                                                                                                                                                          
 => [internal] load build definition from Dockerfile                                                                                                                                                                                                                                 0.1s
 => => transferring dockerfile: 2B                                                                                                                                                                                                                                                   0.0s
 => [internal] load .dockerignore                                                                                                                                                                                                                                                    0.0s
 => => transferring context: 2B                                                                                                                                                                                                                                                      0.0s
failed to solve with frontend dockerfile.v0: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount669939737/Dockerfile: no such file or directory
ERROR: Service 'ladder' failed to build

Did you try to run the image directly with 'docker run'?

I think the issue is this line in the docker-compose file:

   build: .

Remove or comment it and it should work.

I think Docker tries to find the Dockerfile to build the image. But you didn't download that I assume, checking your screenshot

I've removed it from compose, since it is mainly used for dev.