"Azure Container Registry"를 사용해 보려면 Docker 우선 설치해야합니다. :) Mac OS, Windows, Linux
이전 포스팅에 Ubuntu 24.04에서 Docker를 Install 한 내용이 있습니다. 해당 Docker Server에서 Azure CLI를 설치하고
Azure Container Registry에 Image 를 Push하는 과정입니다.
*참고링크
[Docker] Ubuntu 24.04 에서 Docker Install #3 (Hyper-V)
[Docker] Ubuntu 24.04 에서 Docker Install #3 (Hyper-V)
Hyper-V 에 Ubuntu 24.04 VM을 생성하고 Docker 를 설치하는 과정입니다. Hyper-V 관련 내용은 아래 링크를 참고하세요 ~https://coxfactor-tech.tistory.com/category/Server/Hyper-V 'Server/Hyper-V' 카테고리의 글 목록coxfac
coxfactor-tech.tistory.com
[Azure Administrator] Linux 에 Azure CLI Install (Ubuntu 24.04) #1
[Azure Administrator] Linux 에 Azure CLI Install (Ubuntu 24.04) #1
Ubuntu 24.04에 Azure CLI를 설치하는 과정입니다. # 패키지 목록 업데이트 & 필수 패키지 설치sudo apt-get updatesudo apt-get install apt-transport-https ca-certificates curl gnupg lsb-release# Microsoft 패키지 저장소 추가sud
coxfactor-tech.tistory.com
1. Azure & Azure Container Registry Login
az login
az acr login --name [acrname]
2. Image Pull & Tag 지정
# docker Image Pull
docker pull mcr.microsoft.com/mcr/hello-world
# TAG 지정
docker tag mcr.microsoft.com/mcr/hello-world coxfactoracr.azurecr.io/samples/hello-world
3. Image 확인
docker images
4. Azure Container Registry에 Image Push
docker push coxfactoracr.azurecr.io/samples/hello-world
5. Azure Portal > Container Registry > 서비스 > 리포지토리 > Image 확인 가능
다음 ACI(Azure Container Instances)
'Azure > Azure Computing' 카테고리의 다른 글
[Azure Computing] Azure Container Instances (Azure Protal)#3 (32) | 2024.12.05 |
---|---|
[Azure Computing] Azure Container Registry? Portal 에서 배포하기 #1 (32) | 2024.11.29 |
[Azure Computing] Wordpress On Azure App Service 사용자 지정 도메인 추가 #3 (6) | 2024.11.13 |
[Azure Computing] WordPress On Azure App Service 배포하기 #2 (1) | 2024.11.08 |
[Azure Computing] Azure App Service 란 ? (WordPress on App Service) #1 (1) | 2024.11.04 |