Cleanup: remove redundant lines in tutorial
Signed-off-by: z00280905 <zhangwei555@huawei.com>
This commit is contained in:
parent
73c1a9823f
commit
2fbbf49541
1 changed files with 0 additions and 4 deletions
|
@ -291,8 +291,6 @@ Next create the Pod and capture the Pod ID for later use:
|
||||||
POD_ID=$(sudo crioctl pod run --config test/testdata/sandbox_config.json)
|
POD_ID=$(sudo crioctl pod run --config test/testdata/sandbox_config.json)
|
||||||
```
|
```
|
||||||
|
|
||||||
> sudo crioctl pod run --config test/testdata/sandbox_config.json
|
|
||||||
|
|
||||||
Use the `crioctl` command to get the status of the Pod:
|
Use the `crioctl` command to get the status of the Pod:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -329,8 +327,6 @@ sudo crioctl image pull redis:alpine
|
||||||
CONTAINER_ID=$(sudo crioctl ctr create --pod $POD_ID --config test/testdata/container_redis.json)
|
CONTAINER_ID=$(sudo crioctl ctr create --pod $POD_ID --config test/testdata/container_redis.json)
|
||||||
```
|
```
|
||||||
|
|
||||||
> sudo crioctl ctr create --pod $POD_ID --config test/testdata/container_redis.json
|
|
||||||
|
|
||||||
The `crioctl ctr create` command will take a few seconds to return because the redis container needs to be pulled.
|
The `crioctl ctr create` command will take a few seconds to return because the redis container needs to be pulled.
|
||||||
|
|
||||||
Start the Redis container:
|
Start the Redis container:
|
||||||
|
|
Loading…
Reference in a new issue