Pulling the Docker Image
Welcome to the Docker pull guide! Let's get the arcade software onto your computer so we can deploy it to AWS.
Before You Start 
Make sure you have:
- Docker Desktop installed and running
- Terminal or PowerShell open
- AWS account set up
Not Ready?
Need to install Docker? Check our Prerequisites Guide first!
Understanding Docker Images 
Before we pull the image, let's understand what we're doing:
What's a Docker Image?
Think of a Docker image like a video game installer:
- It contains all the software we need
- It's pre-configured and ready to run
- It works the same way on every computer
- You can share it easily with others
Getting and Renaming the Image 
- First, pull the image:
- Give it a more descriptive name:
- Remove the old name (optional):
- Verify everything worked:
You should see something like:
About Image Names
- Renaming an image with
docker tag
doesn't create a copy - It just gives the same image a new name
- This helps us keep our project organized
- Both names would work the same way in commands
Testing the Image 
Let's make sure the image works:
You should see:
What Did We Do?
docker run
starts a container--rm
removes it when finishedecho "Hello..."
tests that it works--platform linux/amd64
ensures compatibility with Apple Silicon Macs- If you see the message, your image is working!
Checking Image Details 
View detailed information about your image:
This shows you:
- When it was created
- What operating system it uses
- What settings it has
- And lots more!
Next Steps: Setting Up Lambda 
Now that you have the Docker image on your computer, it's time to:
- Push it to Amazon ECR
- Set up AWS Lambda to use your image
- Configure your cloud API
The next guide will walk you through these steps!
Continue to Lambda Setup โ Back to Quick Deploy Overview
Troubleshooting 
Common Issues
Docker Not Running
- Make sure Docker Desktop is running
- Try restarting Docker Desktop
Disk Space Issues
- Clear old Docker images:
docker system prune
- Free up disk space
Slow Download
- Check your internet connection
- Try again later
- Ask if there's a local copy available
Need Help?
- Check our Troubleshooting Guide
- Ask your teacher or mentor
- Visit Docker's documentation
Understanding the Process 
Here's what's happening when you pull and push Docker images:
graph LR
A[Docker Hub] -->|Pull| B[Your Computer]
B -->|Push| C[Amazon ECR]
C -->|Deploy| D[AWS Lambda]
Keep Terminal Open
After successfully pulling the image, keep your terminal open - you'll need it for the next step when pushing to ECR!
Remember, pulling the Docker image is just the first step. Next, we'll get it into AWS where it can power your arcade cabinet's payment system!