You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/aws/services/ecr.md
+21-22Lines changed: 21 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,5 @@
1
1
---
2
2
title: "Elastic Container Registry (ECR)"
3
-
linkTitle: "Elastic Container Registry (ECR)"
4
3
description: Get started with Elastic Container Registry (ECR) on LocalStack
5
4
tags: ["Base"]
6
5
persistence: supported
@@ -13,7 +12,7 @@ ECR enables you to store, manage, and deploy Docker container images to build, s
13
12
ECR integrates with other AWS services, such as Lambda, ECS, and EKS.
14
13
15
14
LocalStack allows you to use the ECR APIs in your local environment to build & push Docker images to a local ECR registry.
16
-
The supported APIs are available on our [API coverage page]({{< ref "coverage_ecr" >}}), which provides information on the extent of ECR's integration with LocalStack.
15
+
The supported APIs are available on our [API coverage page](), which provides information on the extent of ECR's integration with LocalStack.
17
16
18
17
## Getting started
19
18
@@ -53,15 +52,15 @@ CMD /root/run_apache.sh
53
52
54
53
You can now build the Docker image from the `Dockerfile` using the `docker CLI:
55
54
56
-
{{< command >}}
57
-
$ docker build -t localstack-ecr-image .
58
-
{{< / command >}}
55
+
```bash
56
+
docker build -t localstack-ecr-image .
57
+
```
59
58
60
59
You can run the following command to verify that the image was built successfully:
61
60
62
-
{{< command >}}
63
-
$ docker images
64
-
{{< / command >}}
61
+
```bash
62
+
docker images
63
+
```
65
64
66
65
You will see output similar to the following:
67
66
@@ -77,15 +76,15 @@ To push the Docker image to ECR, you first need to create a repository.
77
76
You can create an ECR repository using the [`CreateRepository`](https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_CreateRepository.html) API.
78
77
Run the following command to create a repository named `localstack-ecr-repository`:
@@ -146,7 +145,7 @@ You will see an output similar to the following:
146
145
The LocalStack Web Application provides a Resource Browser for managing ECR repositories and images.
147
146
You can access the Resource Browser by opening the LocalStack Web Application in your browser, navigating to the **Resources** section, and then clicking on **ECR** under the **Compute** section.
0 commit comments