美文网首页Docker云生态
[容器管理]使用Portainer管理Docker容器

[容器管理]使用Portainer管理Docker容器

作者: 行书以鉴 | 来源:发表于2017-11-06 13:26 被阅读88次

官网:https://portainer.io/

Portainer

Portainer和Shipyard一样,同样是一个给予Swarm技术衍生出来的负责管理Docker容器的Web UI界面.

演示Live:![](https://portainer.io/overview.html#demo)
![](http:https://img.haomeiwen.com/i5765738/e7e91d75b507024f?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
Github地址:![](https://github.com/portainer/portainer)
官方文档:https://portainer.readthedocs.io/
部署教程:https://portainer.readthedocs.io/en/latest/deployment.html

Installation

首先你得安装好docker,这个可以看看我之前的那篇文章.

我们创建一个属于我们自己的数据卷

docker volume create portainer_data

运行容器

docker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer

View On http://serverip:9000
没错 就是这么简单

使用

首次登录会让你设置一个管理员账号
[图片上传失败...(image-f17c-1510939718923)]

接着会询问你管理的主机是本地的Local还是远程的Remote
[图片上传失败...(image-c7c08-1510939718923)]

然后就进入到主界面
[图片上传失败...(image-4ddab3-1510939718923)]

可以尝试体验一下这个Portainer平台.

换源:选择Registries->点击Add registry->Custom registry 输入你的URL镜像源即可.

相关文章

网友评论

    本文标题:[容器管理]使用Portainer管理Docker容器

    本文链接:https://www.haomeiwen.com/subject/qoclmxtx.html