From 6203a3b19739268f129d04a6f43690fa2d8fbeb3 Mon Sep 17 00:00:00 2001 From: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Date: Thu, 29 Jun 2023 18:28:28 -0400 Subject: [PATCH] Update docker version for 2.x (#4451) Signed-off-by: Fanit Kolchina --- .../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 17a0be6680..aa9ca1d529 100644 --- a/_install-and-configure/install-dashboards/docker.md +++ b/_install-and-configure/install-dashboards/docker.md @@ -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). diff --git a/_install-and-configure/install-opensearch/docker.md b/_install-and-configure/install-opensearch/docker.md index 25125cbb2b..5a756b4683 100644 --- a/_install-and-configure/install-opensearch/docker.md +++ b/_install-and-configure/install-opensearch/docker.md @@ -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.