docker-compose update# Virtualation/Docker2024. 4. 28. 12:10
Table of Contents
728x90
반응형
immich를 빌드할려고 보니 아래와 같이 에러발생하여 컴포즈 업데이트 진행!
[darksharavim]docker-compose up -d ERROR: The Compose file './docker-compose.yml' is invalid because: 'name' does not match any of the regexes: '^x-' You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1. For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/ |
## 설치환경 ##
[darksharavim]cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
## 기존 버전 확인 ##
[darksharavim]docker-compose -v
Docker Compose version v2.6.0
## 작성날짜 기준 최신버전 다운로드 ##
[darksharavim]curl -L "https://github.com/docker/compose/releases/download/v2.27.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 60.0M 100 60.0M 0 0 28.9M 0 0:00:02 0:00:02 --:--:-- 64.6M
## 실행 권한 설정 ##
[darksharavim]chmod +x /usr/local/bin/docker-compose
## 업데이트 버전 확인 ##
[darksharavim]docker-compose -v
Docker Compose version v2.27.0
https://github.com/docker/compose/releases
728x90
반응형
'# Virtualation > Docker' 카테고리의 다른 글
docker ps format filtering (0) | 2024.05.09 |
---|---|
docker localai install (0) | 2024.05.03 |
도커 iptables 차단룰 추가 (0) | 2024.04.23 |
TailScale install(ft. proxmox) (0) | 2024.04.22 |
Vaultwarden install(ft. 패스워드 관리) (0) | 2024.04.22 |
@다크쉐라빔 :: 다크쉐라빔의 주절주절
안녕하세요. 이곳은 IT위주의 잡다한 정보를 올려두는 개인 블로그입니다.
포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!