mirror of
https://github.com/minio/docs.git
synced 2025-07-30 07:03:26 +03:00
Fix typo in container quickstart
This commit is contained in:
@ -38,6 +38,8 @@ Procedure
|
|||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
:class: copyable
|
:class: copyable
|
||||||
|
|
||||||
|
mkdir -p ~/minio/data
|
||||||
|
|
||||||
podman run \
|
podman run \
|
||||||
-p 9000:9000 \
|
-p 9000:9000 \
|
||||||
-p 9090:9090 \
|
-p 9090:9090 \
|
||||||
@ -66,7 +68,7 @@ Procedure
|
|||||||
podman run \
|
podman run \
|
||||||
-p 9000:9000 \
|
-p 9000:9000 \
|
||||||
-p 9090:9090 \
|
-p 9090:9090 \
|
||||||
-v D:\data:/data \
|
-v D:\minio\data:/data \
|
||||||
-e "MINIO_ROOT_USER=ROOTNAME" \
|
-e "MINIO_ROOT_USER=ROOTNAME" \
|
||||||
-e "MINIO_ROOT_PASSWORD=CHANGEME123" \
|
-e "MINIO_ROOT_PASSWORD=CHANGEME123" \
|
||||||
quay.io/minio/minio server /data --console-address ":9090"
|
quay.io/minio/minio server /data --console-address ":9090"
|
||||||
@ -76,7 +78,7 @@ Procedure
|
|||||||
- ``podman run`` starts the container.
|
- ``podman run`` starts the container.
|
||||||
- ``-p`` binds a local port to a container port.
|
- ``-p`` binds a local port to a container port.
|
||||||
- ``-v`` sets a file path as a persistent volume location for the container to use.
|
- ``-v`` sets a file path as a persistent volume location for the container to use.
|
||||||
When MinIO writes data to ``/data``, that data mirrors to the local path ``D:\data``, allowing it to persist between container restarts.
|
When MinIO writes data to ``/data``, that data mirrors to the local path ``D:\minio\data``, allowing it to persist between container restarts.
|
||||||
You can set any file path to which the user has read, write, and delete permissions to use.
|
You can set any file path to which the user has read, write, and delete permissions to use.
|
||||||
- ``-e`` sets the environment variables :envvar:`MINIO_ROOT_USER` and :envvar:`MINIO_ROOT_PASSWORD`, respectively.
|
- ``-e`` sets the environment variables :envvar:`MINIO_ROOT_USER` and :envvar:`MINIO_ROOT_PASSWORD`, respectively.
|
||||||
These set the :ref:`root user credentials <minio-users-root>`.
|
These set the :ref:`root user credentials <minio-users-root>`.
|
||||||
@ -125,7 +127,7 @@ Procedure
|
|||||||
-p 9000:9000 \
|
-p 9000:9000 \
|
||||||
-p 9090:9090 \
|
-p 9090:9090 \
|
||||||
--name minio1 \
|
--name minio1 \
|
||||||
-v D:\data:/data \
|
-v D:\minio\data:/data \
|
||||||
-e "MINIO_ROOT_USER=ROOTUSER" \
|
-e "MINIO_ROOT_USER=ROOTUSER" \
|
||||||
-e "MINIO_ROOT_PASSWORD=CHANGEME123" \
|
-e "MINIO_ROOT_PASSWORD=CHANGEME123" \
|
||||||
quay.io/minio/minio server /data --console-address ":9090"
|
quay.io/minio/minio server /data --console-address ":9090"
|
||||||
@ -135,8 +137,8 @@ Procedure
|
|||||||
- ``docker run`` starts the MinIO container.
|
- ``docker run`` starts the MinIO container.
|
||||||
- ``-p`` binds a local port to a container port.
|
- ``-p`` binds a local port to a container port.
|
||||||
- ``-v`` sets a file path as a persistent volume location for the container to use.
|
- ``-v`` sets a file path as a persistent volume location for the container to use.
|
||||||
When MinIO writes data to ``/data``, that data mirrors to the local path ``D:\data``, allowing it to persist between container restarts.
|
When MinIO writes data to ``/data``, that data mirrors to the local path ``D:\minio\data``, allowing it to persist between container restarts.
|
||||||
You can replace ``D:\data`` with another local file location to which the user has read, write, and delete access.
|
You can replace ``D:\minio\data`` with another local file location to which the user has read, write, and delete access.
|
||||||
- ``-e`` sets the environment variables :envvar:`MINIO_ROOT_USER` and :envvar:`MINIO_ROOT_PASSWORD`, respectively.
|
- ``-e`` sets the environment variables :envvar:`MINIO_ROOT_USER` and :envvar:`MINIO_ROOT_PASSWORD`, respectively.
|
||||||
These set the :ref:`root user credentials <minio-users-root>`.
|
These set the :ref:`root user credentials <minio-users-root>`.
|
||||||
Change the example values to use for your container.
|
Change the example values to use for your container.
|
||||||
@ -151,7 +153,7 @@ Procedure
|
|||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
:class: copyable
|
:class: copyable
|
||||||
|
|
||||||
mkdir -p ${HOME}/data
|
mkdir -p ${HOME}/minio/data
|
||||||
|
|
||||||
docker run \
|
docker run \
|
||||||
-p 9000:9000 \
|
-p 9000:9000 \
|
||||||
|
Reference in New Issue
Block a user