728x90
Portainer란?
서버에 실행되고 있는 Docker를 관리해주는 어드민이라고 생각하면 될 것 같다.
현재 우리팀에서는 Portainer를 통해 Docker를 관리하고 있다.
이미지 다운 및 실행
[root@hostname ~]# docker volume create portainer_data
portainer_data
[root@hostname ~]# docker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data --restart=always portainer/portainer
Unable to find image 'portainer/portainer:latest' locally
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
37df96fc33275189fc24007c2d44fbc61bd9a1b2b487c9dba826e8bce422d988
[root@hostname ~]#
계정은 기본 admin / admin 이였던것 같다.
민감한 정보는 가려 두었다.
위와 같이 해당 서버에서 실행 중인 Docker 컨테이너를 한 눈에 볼수 있으며 Start, Stop, Remove 등 명령어를 실행 할 수 있고 현재 상태도 볼 수 있다.
'Docker' 카테고리의 다른 글
Docker 이미지 저장, 로드 (0) | 2022.02.08 |
---|---|
Portainer에서 remote 도커 서버 추가 (0) | 2022.01.27 |
Docker-compose 설치 (0) | 2022.01.26 |
Docker 설치 (0) | 2022.01.26 |
Docker 실습-2탄 (0) | 2022.01.26 |