@@ -367,15 +367,15 @@ Warn: the output format of CRICTL is similar to Docker CLI, despite some missing
|
|||||||
{{< table caption="mapping from docker cli to crictl - retrieve debugging information" >}}
|
{{< table caption="mapping from docker cli to crictl - retrieve debugging information" >}}
|
||||||
docker cli | crictl | Description | Unsupported Features
|
docker cli | crictl | Description | Unsupported Features
|
||||||
-- | -- | -- | --
|
-- | -- | -- | --
|
||||||
attach | attach | Attach to a running container | `--detach-keys`, `--sig-proxy`
|
`attach` | `attach` | Attach to a running container | `--detach-keys`, `--sig-proxy`
|
||||||
exec | exec | Run a command in a running container | `--privileged`, `--user`, `--detach-keys`
|
`exec` | `exec` | Run a command in a running container | `--privileged`, `--user`, `--detach-keys`
|
||||||
images | images | List images |
|
`images` | `images` | List images |
|
||||||
info | info | Display system-wide information |
|
`info` | `info` | Display system-wide information |
|
||||||
inspect | inspectinspecti | Return low-level information on a container, image or task |
|
`inspect` | `inspect`, `inspecti` | Return low-level information on a container, image or task |
|
||||||
logs | logs | Fetch the logs of a container | `--details`
|
`logs` | `logs` | Fetch the logs of a container | `--details`
|
||||||
ps | ps | List containers |
|
`ps` | `ps` | List containers |
|
||||||
stats | stats | Display a live stream of container(s) resource usage statistics | Column: NET/BLOCK I/O, PIDs
|
`stats` | `stats` | Display a live stream of container(s) resource usage statistics | Column: NET/BLOCK I/O, PIDs
|
||||||
version | version | Show the runtime (Docker, ContainerD, or others) version information |
|
`version` | `version` | Show the runtime (Docker, ContainerD, or others) version information |
|
||||||
{{< /table >}}
|
{{< /table >}}
|
||||||
|
|
||||||
### Perform Changes
|
### Perform Changes
|
||||||
@@ -383,15 +383,15 @@ version | version | Show the runtime (Docker, ContainerD, or others) version inf
|
|||||||
{{< table caption="mapping from docker cli to crictl - perform changes" >}}
|
{{< table caption="mapping from docker cli to crictl - perform changes" >}}
|
||||||
docker cli | crictl | Description | Unsupported Features
|
docker cli | crictl | Description | Unsupported Features
|
||||||
-- | -- | -- | --
|
-- | -- | -- | --
|
||||||
create | create | Create a new container |
|
`create` | `create` | Create a new container |
|
||||||
kill | stop (timeout = 0) | Kill one or more running container | `--signal`
|
`kill` | `stop` (timeout = 0) | Kill one or more running container | `--signal`
|
||||||
pull | pull | Pull an image or a repository from a registry | `--all-tags`, `--disable-content-trust`
|
`pull` | `pull` | Pull an image or a repository from a registry | `--all-tags`, `--disable-content-trust`
|
||||||
rm | rm | Remove one or more containers |
|
`rm` | `rm` | Remove one or more containers |
|
||||||
rmi | rmi | Remove one or more images |
|
`rmi` | `rmi` | Remove one or more images |
|
||||||
run | run | Run a command in a new container |
|
`run` | `run` | Run a command in a new container |
|
||||||
start | start | Start one or more stopped containers | `--detach-keys`
|
`start` | `start` | Start one or more stopped containers | `--detach-keys`
|
||||||
stop | stop | Stop one or more running containers |
|
`stop` | `stop` | Stop one or more running containers |
|
||||||
update | update | Update configuration of one or more containers | `--restart`, `--blkio-weight` and some other resource limit not supported by CRI.
|
`update` | `update` | Update configuration of one or more containers | `--restart`, `--blkio-weight` and some other resource limit not supported by CRI.
|
||||||
{{< /table >}}
|
{{< /table >}}
|
||||||
|
|
||||||
### Supported only in crictl
|
### Supported only in crictl
|
||||||
@@ -399,11 +399,11 @@ update | update | Update configuration of one or more containers | `--restart`,
|
|||||||
{{< table caption="mapping from docker cli to crictl - supported only in crictl" >}}
|
{{< table caption="mapping from docker cli to crictl - supported only in crictl" >}}
|
||||||
crictl | Description
|
crictl | Description
|
||||||
-- | --
|
-- | --
|
||||||
imagefsinfo | Return image filesystem info
|
`imagefsinfo` | Return image filesystem info
|
||||||
inspectp | Display the status of one or more pods
|
`inspectp` | Display the status of one or more pods
|
||||||
port-forward | Forward local port to a pod
|
`port-forward` | Forward local port to a pod
|
||||||
pods | List pods
|
`pods` | List pods
|
||||||
runp | Run a new pod
|
`runp` | Run a new pod
|
||||||
rmp | Remove one or more pods
|
`rmp` | Remove one or more pods
|
||||||
stopp | Stop one or more running pods
|
`stopp` | Stop one or more running pods
|
||||||
{{< /table >}}
|
{{< /table >}}
|
||||||
Reference in New Issue
Block a user