기존 돌아다니는 설명글은 portainer/portainer 설치를 설명하고 있다.
하지만 2022년 1월부터는 portainer/portainer-ce 를 사용해야 한다.
즉, 기존 설명대로면 이제는 사용되지 않는 레포지토리를 사용해야 한다는 것.
https://docs.portainer.io/v/ce-2.11/start/upgrade/docker
Upgrading on Docker Standalone - Portainer Documentation
When the deployment is finished, go to http://your-server-address:9000 and log in. Verify that you are running version 2.0.0 by logging into Portainer and reading the version number on the bottom-left of the UI. To complete the upgrade, perform the steps f
docs.portainer.io
업그레이드 방법은 여기 설명되어있다.
일단 설치는 아래와 같이 하면 끝.
docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce
업그레이드는 간단하다.
단, 백업은 필수!!
#중지하고
docker stop portainer
#삭제하고
docker rm portainer
#설치
docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce
만약, 버전이 1.24.1 미만인 경우, 1.24.1로 업그레이드를 진행한 후 하라고 한다.
#중지하고
docker stop portainer
#제거하고
docker rm portainer
#설치하고
docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer:1.24.1
진행한 후 한번 더 해야한다는 듯.
'취미, 관심 > NAS, Server' 카테고리의 다른 글
[Synology] DSM 7.0, 7.1 시놀로지 아파치 재시작 (0) | 2022.04.08 |
---|---|
[Apache] 아파치 .htaccess에서 www 붙이기, 제거하기(rewrite, redirect) (0) | 2022.04.07 |
[docker] docker-compose IP 고정시키기 (0) | 2022.03.30 |
[ubuntu, docker] 도커 컨테이너로 클라우드플레어 DDNS 사용하기 (0) | 2022.02.24 |
[Synology] 시놀로지 드라이브 사용 중 바이러스 Trojan:Win32/Zpevdo.B 검출 경고가 뜨는 경우 (0) | 2022.02.21 |
[PHP] phpMyAdmin 설치시 Composer~ be installed: xml 문구 해결 (0) | 2022.01.20 |
사이트에 강제로 www 넣기/빼기 (0) | 2022.01.18 |