Skip to content

Commit aa88030

Browse files
committed
Address comments
Signed-off-by: Qiutong Song <[email protected]>
1 parent 3e8e1d9 commit aa88030

File tree

1 file changed

+25
-25
lines changed
  • content/en/docs/tasks/debug-application-cluster

1 file changed

+25
-25
lines changed

content/en/docs/tasks/debug-application-cluster/crictl.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -367,43 +367,43 @@ Warn: the output format of CRICTL is similar to Docker CLI, despite some missing
367367
{{< table caption="mapping from docker cli to crictl - retrieve debugging information" >}}
368368
docker cli | crictl | Description | Unsupported Features
369369
-- | -- | -- | --
370-
attach | attach | Attach to a running container | `--detach-keys`, `--sig-proxy`
371-
exec | exec | Run a command in a running container | `--privileged`, `--user`, `--detach-keys`
372-
images | images | List images |  
373-
info | info | Display system-wide information |  
374-
inspect | inspectinspecti | Return low-level information on a container, image or task |  
375-
logs | logs | Fetch the logs of a container | `--details`
376-
ps | ps | List containers |  
377-
stats | stats | Display a live stream of container(s) resource usage statistics | Column: NET/BLOCK I/O, PIDs
378-
version | version | Show the runtime (Docker, ContainerD, or others) version information |  
370+
`attach` | `attach` | Attach to a running container | `--detach-keys`, `--sig-proxy`
371+
`exec` | `exec` | Run a command in a running container | `--privileged`, `--user`, `--detach-keys`
372+
`images` | `images` | List images |  
373+
`info` | `info` | Display system-wide information |  
374+
`inspect` | `inspect`, `inspecti` | Return low-level information on a container, image or task |  
375+
`logs` | `logs` | Fetch the logs of a container | `--details`
376+
`ps` | `ps` | List containers |  
377+
`stats` | `stats` | Display a live stream of container(s) resource usage statistics | Column: NET/BLOCK I/O, PIDs
378+
`version` | `version` | Show the runtime (Docker, ContainerD, or others) version information |  
379379
{{< /table >}}
380380

381381
### Perform Changes
382382

383383
{{< table caption="mapping from docker cli to crictl - perform changes" >}}
384384
docker cli | crictl | Description | Unsupported Features
385385
-- | -- | -- | --
386-
create | create | Create a new container |  
387-
kill | stop (timeout = 0) | Kill one or more running container | `--signal`
388-
pull | pull | Pull an image or a repository from a registry | `--all-tags`, `--disable-content-trust`
389-
rm | rm | Remove one or more containers |  
390-
rmi | rmi | Remove one or more images |  
391-
run | run | Run a command in a new container |  
392-
start | start | Start one or more stopped containers | `--detach-keys`
393-
stop | stop | Stop one or more running containers |  
394-
update | update | Update configuration of one or more containers | `--restart`, `--blkio-weight` and some other resource limit not supported by CRI.
386+
`create` | `create` | Create a new container |  
387+
`kill` | `stop` (timeout = 0) | Kill one or more running container | `--signal`
388+
`pull` | `pull` | Pull an image or a repository from a registry | `--all-tags`, `--disable-content-trust`
389+
`rm` | `rm` | Remove one or more containers |  
390+
`rmi` | `rmi` | Remove one or more images |  
391+
`run` | `run` | Run a command in a new container |  
392+
`start` | `start` | Start one or more stopped containers | `--detach-keys`
393+
`stop` | `stop` | Stop one or more running containers |  
394+
`update` | `update` | Update configuration of one or more containers | `--restart`, `--blkio-weight` and some other resource limit not supported by CRI.
395395
{{< /table >}}
396396

397397
### Supported only in crictl
398398

399399
{{< table caption="mapping from docker cli to crictl - supported only in crictl" >}}
400400
crictl | Description
401401
-- | --
402-
imagefsinfo | Return image filesystem info
403-
inspectp | Display the status of one or more pods
404-
port-forward | Forward local port to a pod
405-
pods | List pods
406-
runp | Run a new pod
407-
rmp | Remove one or more pods
408-
stopp | Stop one or more running pods
402+
`imagefsinfo` | Return image filesystem info
403+
`inspectp` | Display the status of one or more pods
404+
`port-forward` | Forward local port to a pod
405+
`pods` | List pods
406+
`runp` | Run a new pod
407+
`rmp` | Remove one or more pods
408+
`stopp` | Stop one or more running pods
409409
{{< /table >}}

0 commit comments

Comments
 (0)