You will access to ecsworkshop Cloud9 to build cats and dogs docker images using Docker CLI.
Move to AWS Cloud9. Select ecsworkshop and click Open IDE.
Build cats, dogs docker images using Dockerfile, which is a text file that contains all the commands a user could call on the command line to assemble an image. For instance, Dockerfile under cats directory will be executed when you build cats docker image. Use linux cat commands to review.
cd ecsworkshop/cats cat Dockerfile
Find what FROM, RUN and others mean here. For instance, he FROM instruction initializes a new build stage and sets the Base Image for subsequent instructions.
docker build -t cats .
cd .. cd dogs cat Dockerfile
docker build -t dogs .