From a51f0fa6b52030a4303883e59a28d00fead93dd3 Mon Sep 17 00:00:00 2001 From: Daryl White <53910321+djwfyi@users.noreply.github.com> Date: Mon, 24 Jun 2024 13:31:52 -0400 Subject: [PATCH] Corrects missing alias in alias set command (#1254) A [user on Mastodon](https://hachyderm.io/@thisismissem/112570163970900508) noted that the instructions for connecting a container deploy to MC were missing the alias in the `mc alias set` command. This fixes that. Not staged. --- source/includes/container/common-deploy.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/includes/container/common-deploy.rst b/source/includes/container/common-deploy.rst index 5ed8b781..0134ab59 100644 --- a/source/includes/container/common-deploy.rst +++ b/source/includes/container/common-deploy.rst @@ -97,9 +97,11 @@ The instructions include examples for both quay.io and DockerHub: .. code-block:: shell :class: copyable - mc alias set http://localhost:9000 myminioadmin minio-secret-key-change-me + mc alias set minio-alias http://localhost:9000 myminioadmin minio-secret-key-change-me - Replace ``myminioadmin`` and ``minio-secret-key-change-me`` with the :envvar:`MINIO_ROOT_USER` and :envvar:`MINIO_ROOT_PASSWORD` values in the environment file specified to the container. + - Replace ``minio-alias`` with the alias name to create for this deployment. + + - Replace ``myminioadmin`` and ``minio-secret-key-change-me`` with the :envvar:`MINIO_ROOT_USER` and :envvar:`MINIO_ROOT_PASSWORD` values in the environment file specified to the container. The command should return success if the container is running and accessible at the specified port.