컴퓨터 관련/서버 정보
Docker(도커) 다운그레이드 하는 방법
보뇨
2019. 2. 21. 10:02
반응형
쿠버네티스를 사용하기위해서 도커를 설치했는데 도커를 최신버전으로 설치하는바람에 워닝이 뜸
그래서 다운그레이드 찾아보다가 생각보다 많이 없어서 여기에 포스팅함
- Manuallly placed my site in read-only mode
- Performed apt-get update/upgrade (not really relevant buy hey, why not)
- Power off
- Take snapshot (digital ocean)
- Power on
- Ensure site is still in read only mode
- Remove my docker app: (
docker rm -f app
) - Stop the docker service (
service docker stop
) - Downgrade Docker to 17.10 (
apt-get install docker-ce=17.10.0~ce-0~ubuntu
) - Make sure Docker doesn’t get automatically upgraded again (see here 23)
- Start docker (
service docker start
) - Rebuild the app (
./launcher rebuild app
) (not sure if this was required but thought I’d play it safe) - Reboot the entire server
위와 같이 진행하면 된다고함 물론 해보니 됨 ㅎㅎ
출처
https://meta.discourse.org/t/is-it-safe-to-roll-docker-from-18-01-back-to-17-10/77885/4
반응형