Friday, September 17, 2021

Docker - Build, Tag, Save TAR , Import TAR - Docker Image

 "Bash"
sudo docker build -t $docker_image_name:latest .
sudo docker save -o $docker_image_name.tar $docker_image_name:latest
"Publish Pipeline Artifact"
$(Build.Repository.LocalPath)/eaas-data-extraction.tar
https://docs.docker.com/config/daemon/
https://docs.docker.com/engine/reference/commandline/image_import/
https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/build/docker?view=azure-devops
https://docs.aws.amazon.com/vsts/latest/userguide/ecr-pushimage.html
WSL 
\\WSL$
"Docker task"
[Container repository,  Command, Dockerfile, Tags]
"Amazon ECR Push"
[AWS Credentials, AWS Region, Image Identity]
sudo dockerd
sudo systemctl start docker

No comments:

Post a Comment

Azure - Pipeline - Add Approver for Stage

https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass