README.md 1.9 KB
Newer Older
C
caihaomin 已提交
1
<img src="logo/isula-logo.png" alt="iSulad" style="zoom:80%;" />
O
overweight 已提交
2

C
caihaomin 已提交
3 4
## iSulad

C
caihaomin 已提交
5
`iSulad` is a light weight container runtime daemon which is designed for IOT and Cloud infrastructure.`iSulad` has the characteristics of light, fast and not limited by hardware specifications and architecture, and can be applied more widely.
C
caihaomin 已提交
6 7 8 9 10 11 12 13 14 15 16 17 18 19

## Getting Started

### Installing
To install iSulad, you can use `rpm` or `yum` package manager command with `openEuler` repository.

Install iSulad with yum
```sh
yum install -y iSulad
```

### Run
We provide `systemd` service to start `iSulad`
```sh
L
LiuHao 已提交
20
systemd start isulad # run the server with systemd command
C
caihaomin 已提交
21 22 23 24
```

You can use direct command to start `iSulad` server:
```sh
L
LiuHao 已提交
25
$ sudo isulad  # run the server with default socket name and default log level and images manage function
C
caihaomin 已提交
26 27
```
### Operations on containers:
L
LiuHao 已提交
28
`iSulad` provides command line `isulad` to talk with server.
C
caihaomin 已提交
29 30 31 32 33
Here are some sample commands to manager containers.

List all containers in your own environment:
```sh
# list containers
L
LiuHao 已提交
34
$ sudo isula ps -a
C
caihaomin 已提交
35 36 37 38
```

Create a container with busybox named `test`
```sh
L
LiuHao 已提交
39 40
# create a container 'test' with image busybox
$ sudo isula create -t -n test busybox
C
caihaomin 已提交
41 42 43 44
```

Start this container `test`
```sh
L
LiuHao 已提交
45 46
# start the container 'test'
$ sudo isula start test
C
caihaomin 已提交
47 48 49
```
Kill the container `test`
```sh
L
LiuHao 已提交
50 51
# kill the container 'test'
$ sudo isula kill test
C
caihaomin 已提交
52 53 54
```
Remove the container `test`
```sh
L
LiuHao 已提交
55 56
# remove the container 'test'
$ sudo isula rm test
C
caihaomin 已提交
57 58 59
```

### Build from source
C
caihaomin 已提交
60
Build requirements for developers are listed in [build_guide](./docs/build_guide.md)
O
overweight 已提交
61 62 63 64 65 66 67 68 69 70 71

## How to Contribute

We always welcome new contributors. And we are happy to provide guidance for the new contributors.
iSulad follows the kernel coding conventions. You can find a detailed introduction at:

- https://www.kernel.org/doc/html/v4.10/process/coding-style.html

## Licensing

iSulad is licensed under the Mulan PSL v1.