当前仓库属于关闭状态,部分功能使用受限,详情请查阅 仓库状态说明
5 Star 5 Fork 12

openEuler / isula-transform
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 1.95 KB
一键复制 编辑 原始数据 按行查看 历史
wangkang101 提交于 2020-09-01 15:56 . remove useless flag

isula-transform

Description

isula-transform is a tool which converts the configuration of the docker container to a type that isulad can recognize as being loaded.

Build and Installation

Before building, ensure that Golang 1.13 or later and lcr 2.0.1 or later are installed successfully.

Just execute sudo make && sudo make install in the code root directory and enjoy it.

Instructions

Basic usage of isula-transform:

NAME:
   isula-transform - transform specify docker container type configuration to iSulad type

USAGE:
   [global options] --all|container_id[ container_id...]

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --log value                 specific output log file path (default: "/var/log/isula-kits/transform.log")
   --log-level value           Customize the level of logging for collection, allowed: debug, info, warn, error (default: "info")
   --docker-graph value        graph root of docker (default: "/var/lib/docker")
   --docker-state value        state root of docker (default: "/var/run/docker")
   --all                       transform all containers
   --help, -h                  show help
   --version, -v               print the version

NOTE

There are a few things to note about using isula-transform :

  • currently, only docker 18.09 containers are supported to transform to isulad container
  • due to isulad's lack of native network capability, docker container needs to configure host network
  • isula-transform will read the container's OCI configuration, which requires the docker container to be in a pause or running state, and to be paused if it is in a running state

Contributions

We always welcome new contributors. And we are happy to provide guidance for the new contributors.

Licensing

isula-transform is licensed under the Mulan PSL v2.

Go
1
https://gitee.com/openeuler/isula-transform.git
git@gitee.com:openeuler/isula-transform.git
openeuler
isula-transform
isula-transform
master

搜索帮助