Merge pull request #1171 from WeiZhang555/fix-readme

Cleanup: remove redundant lines in tutorial
This commit is contained in:
Antonio Murdaca 2017-11-22 14:53:44 +01:00 committed by GitHub
commit 67e2d28c86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: