mirror of
https://github.com/minio/docs.git
synced 2025-07-30 07:03:26 +03:00
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 <krutika@minio.io>
This commit is contained in:
committed by
GitHub
parent
c67d446bac
commit
04ff269e7c
@ -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.
|
||||
|
Reference in New Issue
Block a user