Gao feng d74aaa326d make exit code of exec/container consist with docker
The exit code from `docker run` gives information about why the container
failed to run or why it exited.  When `docker run` exits with a non-zero code,
the exit codes follow the `chroot` standard, see below:

**_125_** if the error is with Docker daemon **_itself_**

    $ docker run --foo busybox; echo $?
    # flag provided but not defined: --foo
      See 'docker run --help'.
      125

**_126_** if the **_contained command_** cannot be invoked

    $ docker run busybox /etc; echo $?
    # docker: Error response from daemon: Container command '/etc' could not be invoked.
      126

**_127_** if the **_contained command_** cannot be found

    $ docker run busybox foo; echo $?
    # docker: Error response from daemon: Container command 'foo' not found or does not exist.
      127

**_Exit code_** of **_contained command_** otherwise

    $ docker run busybox /bin/sh -c 'exit 3'; echo $?
    # 3

Signed-off-by: Gao feng <omarapazanadi@gmail.com>
2016-05-17 15:33:24 +08:00
2015-08-13 16:52:26 +08:00
2016-02-05 15:42:36 +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

The init Task for HyperContainer

You can get the binary installer of HyperContainer 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%