tutorial: pull the redis image first

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2017-06-06 16:00:36 -04:00
parent fee5291495
commit e63bace453
Signed by: vbatts
GPG key ID: 10937E57733F1362

View file

@ -324,9 +324,10 @@ Annotations:
### Create a Redis container inside the Pod
Use the `crioctl` command to create a redis container from a container configuration and attach it to the Pod created earlier:
Use the `crioctl` command to pull the redis image, create a redis container from a container configuration and attach it to the Pod created earlier:
```
sudo crioctl image pull redis:alpine
CONTAINER_ID=$(sudo crioctl ctr create --pod $POD_ID --config test/testdata/container_redis.json)
```