일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
- 재귀
- 연결리스트 정렬
- 브루트포스 알고리즘
- 구현
- 정수론
- 문자열제곱
- 연결리스트 중복제거
- 사칙연산
- LeetCode Remove Duplicates from Sorted List in c
- 임의 정밀도 / 큰 수 연산
- LeetCode 83 c언어
- 문자열
- 이분 탐색
- 프로그래머스
- 시뮬레이션
- 실패함수
- 스택
- Queue
- 조합론
- 큰 수 연산
- 수학
- 정렬
- 별 찍기
- 자료 구조
- 다이나믹 프로그래밍
- 큐
- 유클리드 호제법
- LeetCode 83번
- 해시를 사용한 집합과 맵
- KMP알고리즘
- Today
- Total
hahn
docker-compose Error while fetching server API version: HTTPConnection.request() got an unexpected keyword argument 'chunked' + jq 라이브러리 본문
docker-compose Error while fetching server API version: HTTPConnection.request() got an unexpected keyword argument 'chunked' + jq 라이브러리
hahn 2024. 7. 8. 16:07인프런 강좌를 듣던 중 docker-compose 실행 시 아래와 같은 오류 발생했다.
Error while fetching server API version: HTTPConnection.request() got an unexpected keyword argument 'chunked'
요약하면 docker와 docker-compose 버전 차이 때문에 발생한 문제다.
1. 도커 제거
sudo apt-get remove docker-compose -y
2. jq 라이브러리 설치
sudo apt install jq
3. docker-compose 최신 버전 설치
VERSION=$(curl --silent https://api.github.com/repos/docker/compose/releases/latest | jq .name -r)
DESTINATION=/usr/bin/docker-compose
sudo curl -L https://github.com/docker/compose/releases/download/${VERSION}/docker-compose-$(uname -s)-$(uname -m) -o $DESTINATION
sudo chmod 755 $DESTINATION
docker-compose -v
+ jq 라이브러리는 커맨드라인 json 프로세서이다.
docker-compose 최신 버전 설치 참고 [Ubuntu] docker-compose 최신 버전 설치 (tistory.com)
'가상화 > TroubleShooting' 카테고리의 다른 글
ESXi 로그인할 수 없습니다. (0) | 2024.04.16 |
---|