[ecs] ContainerImage.fromRegistry docs issue — how to use custom Docker image tag? #8964
Labels
@aws-cdk/aws-ecs
Related to Amazon Elastic Container
documentation
This is a problem with documentation.
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p1
This is a 📕 documentation issue about ContainerImage.fromRegistry method where it's not clear how to supply a custom Docker image tag i.e.
not-latest
when using a public Docker image from Docker Hub.When I was Googling around, I found this Medium post containing this line inside it:
So, I assume, the method does actually support custom Docker image tag if it's separated by colon symbol i.e.
image-name:tag-name
but it wasn't made clear in the docs page.Can someone confirm this? If it's correct, I'm happy to submit a PR to improve this section.
The text was updated successfully, but these errors were encountered: