mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
74bfe500e4
With this patch, `runc start` command can start mulit-containers at one command this patch also checks the argument of the `start` command. root@ubuntu:# runc list ID PID STATUS BUNDLE CREATED a 0 stopped /mycontainer 2016-09-23T08:56:42.754026567Z b 62979 created /mycontainer 2016-09-23T09:01:36.421976458Z c 62993 running /mycontainer 2016-09-23T09:01:38.105940389Z d 63006 created /mycontainer 2016-09-23T09:01:39.65441942Z e 63020 created /mycontainer 2016-09-23T09:01:40.989995515Z root@ubuntu:# runc start runc: "start" requires a minimum of 1 argument root@ubuntu:# runc start a b c d e f cannot start a container that has run and stopped cannot start an already running container container f is not exist all or part of the containers start failed root@ubuntu:# runc list ID PID STATUS BUNDLE CREATED a 0 stopped /mycontainer 2016-09-23T08:56:42.754026567Z b 62979 running /mycontainer 2016-09-23T09:01:36.421976458Z c 62993 running /mycontainer 2016-09-23T09:01:38.105940389Z d 63006 running /mycontainer 2016-09-23T09:01:39.65441942Z e 63020 running /mycontainer 2016-09-23T09:01:40.989995515Z Signed-off-by: Wang Long <long.wanglong@huawei.com>
419 B
419 B
NAME
runc start - start signals a created container to execute the user defined process
SYNOPSIS
runc start [container-id...]
Where "" is your name for the instance of the container that you are starting. The name you provide for the container instance must be unique on your host.
DESCRIPTIONa
The start command signals the container to start the user's defined process.