A non deamon mode for using openlitespeed in LXC Docker containers

#1
Hello,

Unless I'm mistaken, Openlitespeed is one of the only opensource webserver's that can't be run the the foreground, a requirement for running it in Docker LXC Containers.

Apache can be run with -DFOREGROUND, nginix has a daemon off mode, lighttpd can be run with -D to run in foreground, but I haven't found a way to do this with openlitespeed.

Docker helps run applications accross different operating systems, making it easy to deply the same software in developpement and production plateforms and scale nodes…
 

lsmichael

Active Member
#2
/usr/local/lsws/bin/openlitespeed -d

:)

Thanks for asking. This has to be done from the command line and you should stop your current instance of OpenLiteSpeed first.

m
 
#3
Thanks, it works !

I'll now be able to test running openlitespeed in docker in the next few days !

Docker does run it from command line and I don't think anything is launched except the specified software command when running a container.
 
Last edited:
Top