From 99856040400b9e6a36cfd42ab3e22acde7b26c26 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Thu, 29 Jun 2023 18:29:45 -0400 Subject: [PATCH] Update docker version for 2.x (#4451) (#4458) (cherry picked from commit 6203a3b19739268f129d04a6f43690fa2d8fbeb3) Signed-off-by: Fanit Kolchina Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] --- .../install-dashboards/docker.md | 2 +- .../install-opensearch/docker.md | 20 ++++++++++++++----- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/_install-and-configure/install-dashboards/docker.md b/_install-and-configure/install-dashboards/docker.md index f1179e5dd1..caa70f5114 100644 --- a/_install-and-configure/install-dashboards/docker.md +++ b/_install-and-configure/install-dashboards/docker.md @@ -11,7 +11,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). diff --git a/_install-and-configure/install-opensearch/docker.md b/_install-and-configure/install-opensearch/docker.md index fd651a9dd1..8eba054012 100644 --- a/_install-and-configure/install-opensearch/docker.md +++ b/_install-and-configure/install-opensearch/docker.md @@ -59,17 +59,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.