Skip to content

Commit

Permalink
Update docker version for 2.x (#4451)
Browse files Browse the repository at this point in the history
Signed-off-by: Fanit Kolchina <[email protected]>
  • Loading branch information
kolchfa-aws committed Jun 29, 2023
1 parent 073c1b4 commit 6203a3b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion _install-and-configure/install-dashboards/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ redirect_from:

You *can* start OpenSearch Dashboards using `docker run` after [creating a Docker network](https://docs.docker.com/engine/reference/commandline/network_create/) and starting OpenSearch, but the process of connecting OpenSearch Dashboards to OpenSearch is significantly easier with a Docker Compose file.

1. Run `docker pull opensearchproject/opensearch-dashboards:{{site.opensearch_dashboards_version}}`.
1. Run `docker pull opensearchproject/opensearch-dashboards:2`.

1. Create a [`docker-compose.yml`](https://docs.docker.com/compose/compose-file/) file appropriate for your environment. A sample file that includes OpenSearch Dashboards is available on the OpenSearch [Docker installation page]({{site.url}}{{site.baseurl}}/opensearch/install/docker#sample-docker-composeyml).

Expand Down
20 changes: 15 additions & 5 deletions _install-and-configure/install-opensearch/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,27 @@ Official OpenSearch images are hosted on [Docker Hub](https://hub.docker.com/u/o

[Docker Hub](https://hub.docker.com/u/opensearchproject/):
```bash
docker pull opensearchproject/opensearch:latest
docker pull opensearchproject/opensearch-dashboards:latest
docker pull opensearchproject/opensearch:2
```
{% include copy.html %}

```bash
docker pull opensearchproject/opensearch-dashboards:2
```
{% include copy.html %}

[Amazon ECR](https://gallery.ecr.aws/opensearchproject/):
```bash
docker pull public.ecr.aws/opensearchproject/opensearch:latest
docker pull public.ecr.aws/opensearchproject/opensearch-dashboards:latest
docker pull public.ecr.aws/opensearchproject/opensearch:2
```
{% include copy.html %}

```bash
docker pull public.ecr.aws/opensearchproject/opensearch-dashboards:2
```
{% include copy.html %}

To download a specific version of OpenSearch or OpenSearch Dashboards other than the latest available version, modify the image tag where it is referenced (either in the command line or in a Docker Compose file). For example, `opensearchproject/opensearch:{{site.opensearch_version}}` will pull OpenSearch version {{site.opensearch_version}}. Refer to the official image repositories for available versions.
To download a specific version of OpenSearch or OpenSearch Dashboards other than the latest available version, modify the image tag where it is referenced (either in the command line or in a Docker Compose file). For example, `opensearchproject/opensearch:{{site.opensearch_version}}` will pull OpenSearch version {{site.opensearch_version}}. To pull the latest version, use `opensearchproject/opensearch:latest`. Refer to the official image repositories for available versions.
{: .tip}

Before continuing, you should verify that Docker is working correctly by deploying OpenSearch in a single container.
Expand Down

0 comments on commit 6203a3b

Please sign in to comment.