Skip to content

Commit

Permalink
Fix Images section in ECS README
Browse files Browse the repository at this point in the history
  • Loading branch information
SoManyHs committed Nov 13, 2018
1 parent fbb091a commit e1de5dc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/@aws-cdk/aws-ecs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,12 @@ const taskDefinition = new ecs.TaskDefinition(this, 'TaskDef', {
#### Images

Images supply the software that runs inside the container. Images can be
obtained from either DockerHub or from ECR repositories:
obtained from either DockerHub or from ECR repositories, or built directly from a local Dockerfile.

* `ecs.ContainerImage.fromDockerHub(imageName)`: use a publicly available image from
DockerHub.
* `ecs.ContaienrImage.fromEcrRepository(repo, tag)`: use the given ECR repository as the image
to start.
* `ecs.ContainerImage.fromEcrRepository(repo, tag)`: use the given ECR repository as the image
to start. If no tag is provided, "latest" is assumed.
* `ecs.ContainerImage.fromAsset(this, 'Image', { directory: './image' })`: build and upload an
image directly from a `Dockerfile` in your source directory.

Expand Down Expand Up @@ -240,4 +240,4 @@ EC2 instance group so that your instance count scales with demand.

- [ ] Instance AutoScaling
- [ ] Service Discovery Integration
- [ ] Private registry authentication
- [ ] Private registry authentication

0 comments on commit e1de5dc

Please sign in to comment.