getting lighttpd on docker to work

  • I'm new to docker and want to get lighttpd working using https://hub.docker.com/r/sebp/lighttpd my compose file is this


    but that fails to build


    Quote

    500 - Internal Server Error

    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; docker build --progress plain --tag 'uploader' '/srv/dev-disk-by-uuid-12388cef-cfe4-4169-97a0-fdfd4f3ae460/docker/uploader/' 2>&1': #0 building with "default" instance using docker driver #1 [internal] load .dockerignore #1 transferring context: #1 transferring context: 2B 0.0s done #1 DONE 0.0s #2 [internal] load build definition from Dockerfile #2 transferring dockerfile: 408B 0.0s done #2 DONE 0.1s Dockerfile:7 -------------------- 5 | # 6 | 7 | >>> lighttpd: 8 | image: sebp/lighttpd 9 | volumes: -------------------- ERROR: failed to solve: dockerfile parse error on line 7: unknown instruction: lighttpd:


    If i start in the command line it runs but get 404 when going to port 8999


    Quote

    docker run --rm -t -v /var/www/html:/srv/dev-disk-by-uuid-xxxxxxxx/www -p 8999:80 sebp/lighttpd


    docker run --rm -t -v /var/www/html:/srv/dev-disk-by-uuid-xxxxxxxxxxxx/www -p 8999:80 sebp/lighttpd

  • marvelous

    Changed the title of the thread from “getting lightpd on docker to work” to “getting lighttpd on docker to work”.
  • The compose is using the docker plugin on OMV. I couldn't find another docker container to use. No i didn't change omv port i still want that to be 80 but the container to run on 8999

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!