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

Enable httpd in busybox image #17

Open
endersonmaia opened this issue Jun 3, 2015 · 7 comments
Open

Enable httpd in busybox image #17

endersonmaia opened this issue Jun 3, 2015 · 7 comments

Comments

@endersonmaia
Copy link

httpd is such an useful applet in busybox.

httpd
httpd [-ifv[v]] [-c CONFFILE] [-p [IP:]PORT] [-u USER[:GRP]] [-r REALM] [-h HOME] or httpd -d/-e/-m STRING

Listen for incoming HTTP requests

Options:

        -i              Inetd mode
        -f              Do not daemonize
        -v[v]           Verbose
        -c FILE         Configuration file (default httpd.conf)
        -p [IP:]PORT    Bind to ip:port (default *:80)
        -u USER[:GRP]   Set uid/gid after binding to port
        -r REALM        Authentication Realm for Basic Authentication
        -h HOME         Home directory (default .)
        -m STRING       MD5 crypt STRING
        -e STRING       HTML encode STRING
        -d STRING       URL decode STRING

From: http://www.busybox.net/downloads/BusyBox.html

Mistakenly opened it here : docker-library/official-images#783

@jpetazzo
Copy link
Owner

I don't have a particular opinion so I'll ask to my busybox philosophical consultant... @tianon ? :)

@tianon
Copy link
Contributor

tianon commented Jun 16, 2015

Hahahaha -- if upstream recommends it, absolutely! 👍 😉

@jpetazzo
Copy link
Owner

jpetazzo commented Aug 5, 2015

Which one do you recommend?

I see 3 options and I don't know which one to use (or all of them?)

# BR2_PACKAGE_LIGHTTPD is not set
# BR2_PACKAGE_THTTPD is not set
# BR2_PACKAGE_TINYHTTPD is not set

@endersonmaia
Copy link
Author

What’s the smaller ? Choose it!

@jpetazzo
Copy link
Owner

I actually have no idea at all :)

On Thu, Aug 6, 2015 at 11:38 AM, Enderson Tadeu S. Maia <
notifications@github.com> wrote:

What’s the smaller ? Choose it!


Reply to this email directly or view it on GitHub
#17 (comment)
.

@jpetazzo https://twitter.com/jpetazzo
"Is it safe to run applications into containers?"
http://www.slideshare.net/jpetazzo/docker-linux-containers-lxc-and-security

@apatrushev
Copy link

rootfs.tar image sizes

Original: 3573760
BR2_PACKAGE_LIGHTTPD: 4188160 (+17.2%)
BR2_PACKAGE_THTTPD: 3737600 (+4.6%)
BR2_PACKAGE_TINYHTTPD: 3584000 (+2.9%)

@jpetazzo
Copy link
Owner

I vote for THTTPD ;-)

(LIGHTTPD is super cool too, but I think that if someone needs a "complex" web server, they can use Alpine and get more flexibility on the server choice)

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

4 participants