OpenSource

Portainer (Docker Image 관리 Tool)

아르비스 2019. 7. 4. 18:06

https://www.portainer.io

 

Portainer Management, Docker User Interface, Container Software - Auckland, Singapore, San Francisco | Emerging Technology Partn

Bought to you by Portainer.io; creators of the Portainer Docker Management User Interface

www.portainer.io

Docker를 기존 관리 Tool로는 K8S와 Swarm이 있었지만. 사용이 쉽지 않았음.

새로 찾은 Portainer는 이부분을 손쉽게 처리해 준다.. 그리고 나름 이쁘다.. 까맣고 하얗지 않다.

 

1. 설치

https://www.portainer.io/installation/

 

Installation - Auckland, Singapore, San Francisco | Portainer.io

Register with Portainer By registering with Portainer we will be able to keep you up to date with a range of useful and interesting information. Choose the communications you would like to receive. In line with our privacy policy we will not misuse or shar

www.portainer.io

설치 Portainer 자체가 Container로 되어 있어서 별다른 작업이 없다 단 Windows 계역과 Linux가 약간 다름

1) Linux 계열(Docker for windows 도 linux형은 동일)

$ 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

Note: the -v /var/run/docker.sock:/var/run/docker.sock option can be used in Linux environments only.

windows는 위 경로가 없어서 아래와 같이 처리함.

2) Windows Container

$ docker volume create portainer_data

$ docker run -d -p 9000:9000 --name portainer --restart always -v \\.\pipe\docker_engine:\\.\pipe\docker_engine -v portainer_data:C:\data portainer/portainer

나는 Docker for windows 이지만 linux 형이라 1) 형태로 진행함.

Docker 뿐만 아니라 Swarm 자체로 관리가 가능하다.

2. 실행.

1번을 실행하면 설치 & 실행이 완료되며, Web site에 접속해서 설정을 마무리한다.

http://localhost:9000 or http://서버 IP:9000

admin 계정을 설정하고 나면..

관리 대상을 고르라고 함.

 

 

 

 

상세 참조

https://help.iwinv.kr/manual/read.html?idx=548