skarampudi / ecs-logs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ecs-logs

Create ECR repo

aws ecr create-repository \
    --repository-name python-hello-world

Docker build and push

# Retrieve an authentication token and authenticate your Docker client to your registry.
aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin 777252479890.dkr.ecr.us-east-1.amazonaws.com

# Build your Docker image.
docker build -t python-hello-world .

# Tag your image so you can push the image to this repository.
docker tag python-hello-world:latest 777252479890.dkr.ecr.us-east-1.amazonaws.com/python-hello-world:latest

# push this image to AWS repository
docker push 777252479890.dkr.ecr.us-east-1.amazonaws.com/python-hello-world:latest

About

License:Apache License 2.0


Languages

Language:Python 90.1%Language:Dockerfile 9.9%