Wang Xu da47929b6a add symlink /dev/{stdin,stdout,stderr} to /proc/self/fd/{0,1,2}
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>
2015-10-03 15:11:35 +08:00
2015-10-01 02:47:29 +08:00
2015-08-13 16:52:26 +08:00
2015-07-30 16:13:06 +08:00
2015-05-25 14:24:46 +08:00
2015-07-30 16:09:16 +08:00
2015-05-29 16:00:25 +08:00
2015-09-01 22:43:44 +02:00

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.

S
Description
No description provided
Readme Apache-2.0 46 MiB
Languages
C 96.4%
Shell 1.8%
M4 0.9%
Dockerfile 0.6%
Makefile 0.3%