Busybox is a software toolbox that integrates hundreds of commonly used linux commands and tools in linux. In many cases, we may need to install some virtual systems, including some environment configurations, so we need to download some operating system images, such as ubuntu and centos.1. busybox image.First query the image:Docker search busybox[Root @ niaoyun4
This is the first time I heard about this stuff. After investigation, I found that this stuff is very good. It is especially applicable to Linux-based embedded systems with strict restrictions on disk space. in addition, this product has been used in many products, such as Nokia 770 and Motorola a780.
What is busybox? Directly reference the author: "busybox combines tiny versions of Common Unix utilities
Busybox Script Function, busybox Script Function
Busybox is run on openwrt, which is similar to the bash shell provided by the general linux release.
However, the syntax for the embedded system is a little different from that for the bash shell.
This document describes how to declare and call functions in a script.
(1) declare a function
Test () {echo
Pscontainer ID IMAGE COMMAND CREATED STATUS PORTS NAMESE9088EF901CB RegiStry:2 "/BIN/REGISTRY/ETC/D" about a minute ago up about a minute 0.0.0.0:5000->5000/tcp registry
Registry Container has run up and its boot log can be viewed by: Docker logs Registry.
We give Busybox:latest a tag in 71, and try to push the image under the new tag to registry:
$ docker tag busybox:latest 10.10.105.71:5000/tonybai/busy
Diff
Export
Images
Import/save/load
Inspect
Kill
Port
Pause/unpause
Ps
Rm
Rmi
Run
Start/stop/restart
Tag
Top
Wait
Log information related
Events
History
Logs
Docker Hub Service Related
Login
Pull/push
Search
1.1 Para
Reprinted from: http://www.cnblogs.com/xiaowenji/archive/2011/03/12/1982309.html
Have you ever had this experience? input ADB shell in the command line and then use the command to operate your mobile phone or simulator. However, these commands are common Linux commands, which are not easy to use. Have you ever thought about using a complete shell on Android? Use busybox. You can use terminal emulator either by connecting to the device using the ADB c
share with you a lot of practical cases.So far, we've introduced the basic concept of Docker, and next, let's install Docker together.Docker Installation TutorialsCommandDetailed linksWe will learn 15 Docker commands and learn how it works through practice.First, let's check to see if Docker is installed correctly wit
docker installed:Server machine (with the registry host name): A private docker repository server that runs the registry container;Test-side machine (host name: node): A common docker server. Download a test image busybox from this server and upload it to the registry server for testing;3. Deployment (server operation
You can enter the android console in two ways:
1. Run the emulator-shell command directly;
2. After starting emulator, run the ADB shell command.
Then we can use some common Linux commands, such as LS and cat. However, the toolbox provided by Android (located in/system/bin) is too simple. Some commands such as find do not support Android or are not well supported. The following describes how to add the busybox tool to Android and compile a
The four busybox of the Linux system clipping notes1. What is cut?The main purpose of this article is to give the author and readers a deeper understanding of how the Linux system works, the general content is to take Linux apart from the components to assemble, and then complete a micro Linux system. Let's do it now. Please advise me where the writing is not good.2. PrincipleAs we all know, the operating system start-up process is (mainly Linux):P Os
Overview and use of busybox1. Overview of busybox
Busybox is a software that integrates more than one hundred common Linux commands and tools. It even integrates an HTTP server and a Telnet server, all these functions only have a size of about 1 MB. the Linux commands we usually use are like vertical electronic components, while busybox is like an integrated circ
Linux 3.10 busybox InitramfsBuildQemuDebugMy environment is a CentOS 7 64-bit system run by VM Ware virtual machine1: InstallationQemuFirst install SDL, responsible for QEMU running only after the VNC server running on ':: 1:5900 ', and does not appear Qemu Run the window, for specific reference:http://www.crifan.com/qemu_test_arm_vnc_server_running_on_127_0_0_1_5900_no_other_output/Yum install sdl.i686 sdl.x86_64 sdl-devel.i686 sdl-devel.x86_64Downlo
(such as deleting a file), but these changes do not affect the image. However, you usedocker commit Command to convert a running container into a new image.
For example:
# Pull an image named busybox like the official Docker hello world exampleSudo docker pull busybox
# Check which images are available locally# We can
This paper is suitable for fs4412 Development Board, the kernel used is linux4.9.9.1. SOURCE DownloadBusyBox's official source download path is:http://busybox.net/downloads/Can download the latest busybox-1.28.12. Extract Source
Tar xvf busybox-1.28.1.tar.bz2
3. Access to the source directory
CD busybox-1.28.1
4. Configure BusyBoxBusyBox has already done a lot
1. What is busybox?
Busybox is a single executable implementation of many standard Linux tools. Busybox contains some simple tools, such as CAT and ECHO, and some larger and more complex tools, for example, grep, find, mount, and telnet (but it has fewer options than the traditional version); some refer to busybox as t
I wrote a blog titled adding busybox to Android. It provides four porting methods, but it is still not perfect.Post-processing cannot solve all problems at once. The above patch is provided below, that is, the ultimate solution of Android busybox,The procedure is as follows:Step 1: Cross-compile busyboxHere you choose busybox-1.19.0, of course you can use a later
Use busybox as a mini Linux-general Linux technology-Linux programming and kernel information. The following is a detailed description. By cutebunny
1. Basic Knowledge
An operating system can be simply abstracted as a boot program + kernel + file system.
Vmlinuz is an image file of the Linux kernel. It can be loaded by the boot program to start the Linux system.
The full name of initrd is boot loader initialized RAM disk, which is the root file sys
BusyBoxA binary program that simulates the implementation of many programs./bin/busyboxTo view native hardware device information:#cat/proc/cpuinfo#cat/proc/meminfo#lsusb Displays the USB interface information.#lspci displays all devices on the PCI bus.#hal-device displays detailed information for all hardware.Hardware abstract layer hardware abstraction.Compile BusyBox:#tar XF busybox.tar.bz2#cd BusyBox#ma
BusyBox preparation before building the system
First installation:
To resolve BusyBox compilation error: Fatal error:curse.h error is due to missing suite ncurses devel
Apt-get Install Libncurses5-dev
problems can be solved;
Step two: Download ARM-LINUX-GCC installation, this is based on the arm architecture of the Linux Platform Cross-compilation tool, download arm-linux-gcc-4.4.3 version
1, TAR-ZXVF arm-
Have you ever had this experience? input ADB shell in the command line and then use the command to operate your mobile phone or simulator. However, these commands are common Linux commands, which are not easy to use. Have you ever thought about using a complete shell on Android? Use busybox. You can use terminal emulator either by connecting to the device using the ADB command line or on your mobile phone.
1. What is
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.