今天将omv安装好并且更新了官方插件就可以利用docker 安装很多的服务了,但是为了可以更好管理docker就需要安装portainer 为了方便方便管理就安装了汉化版的
luoluo@omv:~$ docker search portainer
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
6053537/portainer-ce portainer-ce中文汉化版 26
lihaixin/portainer docker ui 15 [OK]
greenled/portainer-stack-utils Bash scripts to deploy/undeploy stacks in a … 6 [OK]
portainerci/portainer Portainer images automatically created via P… 6
6053537/portainer portainer中文版,完整汉化,汉化程度95%以上 6
cqkz/portainer-zh portainer-ce:2.1.1-alpine,汉化文件来自恩山… 3
hassioaddons/portainer 2
thibaudlabat/portainer_32 Portainer built for 32bit Linux [ OUTDATED ]… 1
hassioaddons/portainer-armv7 1
softonic/portainer-endpoint Allows auto register all the swarm nodes in … 1 [OK]
antsoftxyz/portainer-api A portainer api wrapper which can help you C… 0
iconviet/portainer 0
hassioaddons/portainer-amd64 0
mitigram/portainer-ce Easily Configurable Portainer (CE Edition) 0
xanderstrike/portainer-issue for illustrating a portainer issue 0
helloysd/portainer 0
11384eb/portainer 0
nenadilic84/portainer 0
portainerci/agent Portainer agent images automatically created… 0
portainerci/portainer-ee Portainer EE CI repository 0
agiper/portainer 0
johnvmt/portainer-ecr-credentials Periodically updates the credentials Portain… 0 [OK]
profidata/portainer Fork of portioner/portainer 0
webdevsvc/portainer portainer 0 [OK]
geosite/portainer A Docker UI, This is a fork of portainer/por… 0
luoluo@omv:~$ docker pull portainer/portainer
Using default tag: latest
latest: Pulling from portainer/portainer
94cfa856b2b1: Pull complete
49d59ee0881a: Pull complete
a2300fd28637: Pull complete
Digest: sha256:fb45b43738646048a0a0cc74fcee2865b69efde857e710126084ee5de9be0f3f
Status: Downloaded newer image for portainer/portainer:latest
docker.io/portainer/portainer:latest
输入先创建这个容器
docker run -d -p 9000:9000 --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data --name prtainer-test portainer/portainer
luoluo@omv:/$ sudo mkdir public
我们信任您已经从系统管理员那里了解了日常注意事项。
总结起来无外乎这三点:
#1) 尊重别人的隐私。
#2) 输入前要先考虑(后果和风险)。
#3) 权力越大,责任越大。
[sudo] luoluo 的密码:
luoluo@omv:/$ ls
bin etc initrd.img lib32 lost+found opt root srv usr vmlinuz.old
boot export initrd.img.old lib64 media proc run sys var
dev home lib libx32 mnt public sbin tmp vmlinuz
luoluo@omv:/$ chmod 777 public/
chmod: 更改'public/' 的权限: 不允许的操作
luoluo@omv:/$ sudo chmod 777 p
proc/ public/
luoluo@omv:/$ sudo chmod 777 public/ 将下载好的汉化包上传到这个文件夹修改权限才可以
进入/public
luoluo@omv:/public$ ls
css fonts ico images index.html js public.7z 这里是解压缩的文件
luoluo@omv:/public$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
740834362f8c portainer/portainer "/portainer" 39 seconds ago Up 36 seconds 0.0.0.0:9000->9000/tcp, :::9000->9000/tcp prtainer-test
luoluo@omv:/public$ docker stop 740834362f8c 停止该容器
740834362f8c
luoluo@omv:/public$ docker rm -f 740834362f8c删除容器
740834362f8c
docker run -d -p 9000:9000 --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data -v /public:/public --name prtainer-test portainer/portainer
最后登录omv ip :9000
附上汉化版文件,感谢网友提供的汉化文件
汉化文件
链接:https://pan.baidu.com/s/1CJj5AYRW2fjhTojPh5WFgA 提取码: cdq6
网友评论