Create & Deploy Docker Image in Azure App Service
Download Links
Docker
https://docs.docker.com/desktop/install/windows-install/
Git: https://git-scm.com.
VS Code: https://code.visualstudio.com
Azure App Service Tutorial
https://youtu.be/VsfEANWCOds
Docker Hub
https://hub.docker.com/
Azure Account creation: https://azure.microsoft.com/en-in/pricing/purchase-options/azure-account?icid=azurefreeaccount
Build & Push Docker Image – Docker Hub
nitialize docker assets
Run docker command: docker init
Dockerfile
.dockerignore
docker-compose.yaml
Build docker image
Build image: docker build -t username/"image name":"tag name" .
View image : docker image ls
Run & test the application Locally
Run app: docker run -p8080:8080 "docker image"
URL: http://localhost:8080/info
Process : docker ps
Stop app: docker stop "psid"
Push image to Docker Hub registry
Login to docker : docker login
Push Image: docker push "docker image"