jpetazzo / docker-busybox Goto Github PK
View Code? Open in Web Editor NEWBusybox for Stackbrew
Busybox for Stackbrew
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
user@host ~ $ docker run --rm -i -t busybox:latest /bin/sh
/ # ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
Segmentation fault
/ #
Running on CoreOS 353, Docker 1.0
could bash be added? its only small and a lot of scripts are written in bash
su: must be suid to work properly
docker run busybox ls -l /bin/su
-rwxr-xr-x 359 root root 1014672 Sep 18 20:40 /bin/su
Not sure if this is the right place to file issues on busybox, but the hub page links here.
busybox:glibc works correctly, busybox:uclibc does not. :latest is currently tagged as :uclibc - it looks like this was updated today.
Seems like a few symlinks or something of that nature would make it easier to run openjdk/oracle jdk/jre.
A new version of BusyBox was released today. If you could update to it, that'd be swell.
Thanks! 😉
Using this docker image I encount a problem when attempting to install GNU Make on it.
I'm not familiar with busybox and so, but I think it could be possible to install GNU Make.
So what I do is:
wget http://ftp.gnu.org/gnu/make/make-4.0.tar.gz
gunzip -c make-4.0.tar.gz |tar xvf -
As I use wget, gunzip and tar, I don't know if the problem comes from gunzip, tar or wget…
Have you any clue about this?
Thanks in advance.
In an ideal situation, PID 1 should be an init system rather than /bin/sh
as presently found in the image.
Busybox has an integrated init system (/bin/init
) that is suitable, so modifications should be made to reflect this. Alternatively, a system such as runit
could be used as seen in baseimage-docker.
I just recently switched from using linux mint to arch linux as my host system.
The golang is built using
CGO_ENABLED=0 GOOS=linux go build -a -tags netgo -ldflags '-w' .
I'm using the same build files and everything, however once I build the image it cannot run the static binary. It results in a No such file or directory
error.
Even if I run the image built on arch I cannot run it on another system as the error persists. I can build on debian, ubuntu and it works properly.
$ sudo docker info
Containers: 20
Images: 255
Storage Driver: devicemapper
Pool Name: docker-8:7-4458443-pool
Pool Blocksize: 65.54 kB
Backing Filesystem: extfs
Data file; /dev/loop1
Metadata file: /dev/loop1
Data Space Used: 5.341 GB
Data Space Total: 107.4 GB
Metadata Space Used: 10.78 MB
Metadata Space Total: 2.147 GB
Udev Sync Supported: true
Data loop file: /var/lib/docker/devicemapper/devicemapper/data
Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
Library Version: 1.02.93 (2015-01-30)
Execution Driver: native-0.2
Kernel Version: 3.18.6-1-ARCH
Operating System: Arch Linux
CPUs: 4
Total Memory: 7.509 GiB
Name: moosilauke
ID: FR3R:2GHU:5SWC:6IP4:YV5Q:MNDD:6TJX:AGDE:QG6R:LYX0:PRCD:P2ZE
WARNING: No swap limit support
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.