Getting ready

A key element of Docker is docker container repositories.  We have previously used Docker Hub to pull containers.  But we can also push our containers to Docker Hub, or any Docker-compatible container repository, such as ECR. But this is not without its troubles. The docker CLI does not naturally know how to authenticate with ECR, so we have to jump through a few hoops to get it to work.  

Make sure that the AWS command line tools are installed.  These are required to get Docker authenticated to work with ECR.  Good instructions are found at https://docs.aws.amazon.com/cli/latest/userguide/installing.html.  Once the install is verified, you will need to configure the CLI to use the account created in the previous recipe.  This ...

Get Python Web Scraping Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.