mirror of
https://github.com/clearlinux/hyperstart.git
synced 2026-08-22 05:56:10 +00:00
da47929b6a8919f5dc4d3a4df34e688da41ef4ca
This is what docker does, and will fix the other part of the issue of official nginx image problems Test result: ``` gnawux@sonic:~/go/src/github.com/hyperhq/hyper$ ./hyper run nginx POD id is pod-SwBxHnRdKH 192.168.123.1 - - [03/Oct/2015:07:06:27 +0000] "GET / HTTP/1.1" 200 612 "-" "curl/7.35.0" "-" ``` The curl in another term: ``` gnawux@sonic:~/c/hyperstart/build$ curl http://192.168.123.7/ <!DOCTYPE html> <html> <head> <title>Welcome to nginx!</title> <style> body { width: 35em; margin: 0 auto; font-family: Tahoma, Verdana, Arial, sans-serif; } </style> </head> <body> <h1>Welcome to nginx!</h1> <p>If you see this page, the nginx web server is successfully installed and working. Further configuration is required.</p> <p>For online documentation and support please refer to <a href="http://nginx.org/">nginx.org</a>.<br/> Commercial support is available at <a href="http://nginx.com/">nginx.com</a>.</p> <p><em>Thank you for using nginx.</em></p> </body> </html> ``` Signed-off-by: Wang Xu <gnawux@gmail.com>
The init Task for Hyper
You can get the binary installer of Hyper and HyperStart through The Hyper Page
Build from source
clone this repo, and make sure you have build-essentials installed. Go into the working copy and
> ./autogen.sh
> ./configure
> make
Then you can find hyper-initrd.img in the build directory, together with a pre-built kernel.
If you want to get the boot disk file for VirtualBox, please reconfigure with flag --with-vbox,
> ./configure --with-vbox
> make
Then you can find hyper-vbox-bootimage.iso in the build directory. Booting from this iso will
bring you to the hyper world.
Description
Languages
C
96.4%
Shell
1.8%
M4
0.9%
Dockerfile
0.6%
Makefile
0.3%