Go to file
Wei Zhang 4217dde487 kernel_config: add 4.1 kernel support
Fixes #144

Current kata containers can't run with kernel 4.1 built from current x86 config,
it will report error:

```
$ docker run -ti --runtime kata busybox sh
docker: Error response from daemon: oci runtime error: rpc error: code = Internal
 desc = Could not run process: container_linux.go:348: starting container process
 caused "process_linux.go:402: container init caused \"open /dev/ptmx: no such
file or directory\"".
```

This is caused by bogus devpts mount options. When run container with docker,
docker will assign a default devpts mount for every container which equals to
command below:

```
$ mount -t devpts -o nosuid,noexec,newinstance,ptmxmode=0666,mode=0620,gid=5 \
devpts /dev/pts
```

This requires kernel config `CONFIG_DEVPTS_MULTIPLE_INSTANCES=y` to work properly
under kernel-4.1, but this option is already removed from latest kernel.

It's better to add it back for support older kernel than current 4.14.

Signed-off-by: Wei Zhang <zhangwei555@huawei.com>
2018-08-25 09:00:05 +08:00
.ci format: use shfmt to format sh files. 2018-08-16 16:45:35 -05:00
ccloudvm docs: Add ccloudvm README. 2018-05-23 11:02:43 -05:00
kata-deploy kata-deploy: use latest container image 2018-08-21 20:56:23 -07:00
kernel kernel_config: add 4.1 kernel support 2018-08-25 09:00:05 +08:00
obs-packaging format: use shfmt to format sh files. 2018-08-16 16:45:35 -05:00
release release: tag: Add option to decide what branch will be used. 2018-08-21 11:10:53 -05:00
scripts format: use shfmt to format sh files. 2018-08-16 16:45:35 -05:00
snap Merge pull request #134 from nitkon/broken_link 2018-08-13 17:36:24 +01:00
snap-build format: use shfmt to format sh files. 2018-08-16 16:45:35 -05:00
static-build/qemu format: use shfmt to format sh files. 2018-08-16 16:45:35 -05:00
.gitignore gitignore: Ignore tarballs and generated files. 2018-08-15 16:53:48 -05:00
.pullapprove.yml CI: Add pullapprove config 2018-02-05 15:33:31 +00:00
CODE_OF_CONDUCT.md docs: Add CoC and contributing doc 2018-02-05 15:33:30 +00:00
CONTRIBUTING.md docs: Add CoC and contributing doc 2018-02-05 15:33:30 +00:00
LICENSE Initial commit 2018-02-02 09:27:48 +00:00
Makefile snap-build: implement system to cross-build snap images 2018-08-09 09:14:31 -05:00
README.md kata-deploy: add support for deploying Kata on K8S 2018-07-10 18:52:05 +00:00

Kata Containers packaging

Kata Containers currently supports packages for many distributions. Tooling to aid in creating these packages are contained within this repository.

In addition, Kata build artifacts are available within a container image, created by a Dockerfile. Reference daemonsets are provided in kata-deploy, which make installation of Kata Containers in a running Kubernetes Cluster very straightforward.