docs: update docker/use

This commit is contained in:
Administrator 2021-12-09 08:55:21 +00:00 committed by John Smith
parent fd836a2068
commit 93d120f26d

View File

@ -2,7 +2,7 @@
title: docker的使用 title: docker的使用
description: docker的简单使用 description: docker的简单使用
published: true published: true
date: 2021-12-09T08:53:31.355Z date: 2021-12-09T08:55:19.995Z
tags: docker tags: docker
editor: markdown editor: markdown
dateCreated: 2021-08-02T07:26:50.035Z dateCreated: 2021-08-02T07:26:50.035Z
@ -226,6 +226,7 @@ $ docker run --name minio -p 9001:9000 -p 9002:9001 -v /projects/minio/uploadFil
1. 端口 **9000** 为API端口固定 1. 端口 **9000** 为API端口固定
2. 端口 **9001** 为控制台(网页)端口,通过 **--console-address ":9001"** 指定,不固定 2. 端口 **9001** 为控制台(网页)端口,通过 **--console-address ":9001"** 指定,不固定
3. 目录 **/data** 为数据文件夹 3. 目录 **/data** 为数据文件夹
4. 默认用户名密码在启动后通过 **docker logs minio** 查看
# 卷与数据持久化 # 卷与数据持久化