Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-t flag for the latest sebp/lighttpd container? #23

Open
Cheng-Ian-Liu opened this issue Nov 9, 2021 · 1 comment
Open

-t flag for the latest sebp/lighttpd container? #23

Cheng-Ian-Liu opened this issue Nov 9, 2021 · 1 comment

Comments

@Cheng-Ian-Liu
Copy link

Hi Seb,

May I know if the latest sebp/lighttpd requires a different docker run parameter to start successfully? I added the -t flag, but still have the following error. Thanks!

docker run --rm -t -v /root/cheng:/var/www/localhost/htdocs -p 8080:80 sebp/lighttpd

chmod: /dev/pts/0: No such file or directory
2021-11-09 05:13:07: configfile.c.1290) opening errorlog '/dev/pts/0' failed: Permission denied
2021-11-09 05:13:07: server.c.1509) Opening errorlog failed. Going down.

@spujadas
Copy link
Owner

Hi Ian, nothing’s changed in the image other than bumping up the version of lighttpd.

You were right to add the -t flag (#8 #10), but it’s strange that it doesn’t solve the issue.

Can’t reproduce on my end unfortunately, as adding -t prevents the error.

Without the flag:

~/lighttpd-docker$ docker run --rm -v $(pwd)/www:/var/www/localhost/htdocs -p 8001:80 sebp/lighttpd
chmod: /dev/pts/0: No such file or directory
2021-11-10 17:14:55: configfile.c.1290) opening errorlog '/dev/pts/0' failed: Permission denied
2021-11-10 17:14:55: server.c.1509) Opening errorlog failed. Going down.

With the flag:

~/lighttpd-docker$ docker run --rm -t -v $(pwd)/www:/var/www/localhost/htdocs -p 8001:80 sebp/lighttpd
2021-11-10 17:14:59: server.c.1513) server started (lighttpd/1.4.59)

Not that it should make much of difference, but here’s my version of Docker:

$ docker --version
Docker version 20.10.8, build 3967b7d

Fired up a fresh VM, and observed the exact same behaviour as above.

You could try to forcefully delete all your existing lighttpd images and containers running off these images, in pure "have you tried turning it off and on again" fashion, but other than that, as I can’t reproduce the issue I don’t see how to help with this one.

Is anyone else having this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants