From 04ff269e7c548e180eafb1031452bf10d2fee0e6 Mon Sep 17 00:00:00 2001 From: Krutika Dhananjay Date: Mon, 23 Sep 2024 18:32:09 +0530 Subject: [PATCH] Add missing alias name in mc-alias-set example command (#1329) Go to https://min.io/docs/minio/linux/operations/install-deploy-manage/deploy-minio-single-node-multi-drive.html#connect-to-the-minio-service Under the tab MinIO CLI (mc): The command for creating mc alias is displayed as `mc alias set http://localhost:9000 myminioadmin minio-secret-key-change-me`. Note that the parameter for alias-name is missing here. This PR adds the missing alias name. --------- Co-authored-by: Krutika Dhananjay --- source/includes/common/common-deploy.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/source/includes/common/common-deploy.rst b/source/includes/common/common-deploy.rst index d45add6c..832733aa 100644 --- a/source/includes/common/common-deploy.rst +++ b/source/includes/common/common-deploy.rst @@ -115,9 +115,13 @@ Include any other environment variables as required for your local deployment. .. code-block:: shell :class: copyable - mc alias set http://localhost:9000 myminioadmin minio-secret-key-change-me + mc alias set myminio 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 ``myminio`` with the desired name to use for the alias. + + - Replace ``myminioadmin`` with the :envvar:`MINIO_ROOT_USER` value in the environment file specified to the container. + + - Replace ``minio-secret-key-change-me`` with the :envvar:`MINIO_ROOT_PASSWORD` value in the environment file specified to the container. You can then interact with the container using any :mc:`mc` command. If your local host firewall permits external access to the MinIO S3 API port, other hosts on the same network can access the MinIO deployment using the IP or hostname for your local host.