examples/redis: Explicitly use redis:4.0.5-alpine

Currently there is a Content Trust issue with 4.0-alpine
as well as 4-alpine on arm64. 4.0.5-alpine works, so use
it for the example.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
Rolf Neugebauer 2017-12-11 14:41:35 +00:00
parent 1b5a10ad3f
commit b3c3267627

View File

@ -16,8 +16,10 @@ services:
image: linuxkit/getty:22e27189b6b354e1d5d38fc0536a5af3f2adb79f image: linuxkit/getty:22e27189b6b354e1d5d38fc0536a5af3f2adb79f
env: env:
- INSECURE=true - INSECURE=true
# Currently redis:4.0.6-alpine has trust issue with multi-arch
# https://github.com/docker-library/official-images/issues/3794
- name: redis - name: redis
image: redis:4.0-alpine image: redis:4.0.5-alpine
capabilities: capabilities:
- CAP_NET_BIND_SERVICE - CAP_NET_BIND_SERVICE
- CAP_CHOWN - CAP_CHOWN