保留镜像

root@hello:~# docker pull minio/minioUsing default tag: latestlatest: Pulling from minio/miniod46336f50433: Pull complete be961ec68663: Pull complete 44173c602141: Pull complete a9809a6a679b: Pull complete df29d4a76971: Pull complete 2b5a8853d302: Pull complete 84f01ee8dfc1: Pull complete Digest: sha256:d786220feef7d8fe0239d41b5d74501dc824f6e7dd0e5a05749c502fff225bf3Status: Downloaded newer image for minio/minio:latestdocker.io/minio/minio:latestroot@hello:~#root@hello:~# docker save > minio.tar minio/minioroot@hello:~# ll minio.tar-rw-r--r-- 1 root root 415240704 Mar 30 07:03 minio.tarroot@hello:~#

导入镜像

root@hello:~# docker load -i minio.tar 744c86b54390: Loading layer [==================================================>]  104.1MB/104.1MB1323ffbff4dd: Loading layer [==================================================>]  20.48kB/20.48kB9a5123a464dc: Loading layer [==================================================>]  3.584kB/3.584kB9e9eecfbe95d: Loading layer [==================================================>]  3.584kB/3.584kB6088fcbd6a76: Loading layer [==================================================>]  1.724MB/1.724MB678ce496e457: Loading layer [==================================================>]  36.86kB/36.86kB50f383b04a07: Loading layer [==================================================>]  309.3MB/309.3MBLoaded image: minio/minio:latestroot@hello:~#

创立目录

root@hello:~# mkdir /data/config -proot@hello:~# mkdir /data/data -proot@hello:~#

启动容器

root@hello:~# docker run -itd -p 9000:9000 --name minio -p 9001:9001 -e "MINIO_ACCESS_KEY=minio" -e "MINIO_SECRET_KEY=minio@123" -v /data/data:/data -v /data/config:/root/.minio minio/minio server /data --address '0.0.0.0:9000'  --console-address '0.0.0.0:9001'5c69e875ce561ac311a85708594072eca8c1b4740773d83045f256d316efc06croot@hello:~# docker ps | grep minio5c69e875ce56   minio/minio             "/usr/bin/docker-ent…"   9 seconds ago   Up 8 seconds   0.0.0.0:9000-9001->9000-9001/tcp, :::9000-9001->9000-9001/tcp   minioroot@hello:~#

拜访账号密码

url:http://ip:9001/login

user:minio

password:minio@123

https://www.oiox.cn/

https://www.chenby.cn/

https://cby-chen.github.io/

https://weibo.com/u/5982474121

https://blog.csdn.net/qq\_33921750

https://my.oschina.net/u/3981543

https://www.zhihu.com/people/...

https://segmentfault.com/u/hp...

https://juejin.cn/user/331578...

https://space.bilibili.com/35...

https://cloud.tencent.com/dev...

https://www.jianshu.com/u/0f8...

https://www.toutiao.com/c/use...

CSDN、GitHub、知乎、开源中国、思否、掘金、简书、腾讯云、哔哩哔哩、今日头条、新浪微博、集体博客、全网可搜《小陈运维》