Reputation: 3484
I am using Redis locally for a caching service in my Docker project. For my other services, I built the images, and pushed them to ECR. The Redis service is the standard service.
services:
redis:
image: redis:3.2
Question How do you find the URI for a standard image like this to reference in the container to my Task Definition?
Upvotes: 0
Views: 987
Reputation: 159875
According to the ECS documentation you should be able to use “short” names for images on Docker Hub: try just typing in redis:3.2
there and see if it works.
If all of the parts (server hostname, namespace, image name) are really required, docker.io/library/redis:3.2
is the exact same image, just with the typical Docker Hub defaults filled in.
Upvotes: 1