Skip to content

Instantly share code, notes, and snippets.

View cguillemette's full-sized avatar

Cédric Guillemette cguillemette

  • Montreal
  • 09:28 (UTC -05:00)
View GitHub Profile
@cguillemette
cguillemette / docker.md
Last active January 4, 2024 16:20
CLI cheat sheet

Docker

# Passthrough AWS credentials to docker
aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws
# Debug a flask app 
$ docker-compose run -p 8000:8000 svc1 python3 -m pdb app.py