Welcome to the Docker basics workshop! This guide will help you set up everything you need before we begin. Don't worry if you're new to all of this - we'll take it step by step.
-
Docker Desktop
- For Windows: Download Docker Desktop
- For Mac: Download Docker Desktop
- For Linux: Follow the Docker Engine installation guide
-
Git
- Windows: Download Git
- Mac: Install via Terminal using
brew install git(requires Homebrew) - Linux:
sudo apt-get install git(Ubuntu/Debian) orsudo yum install git(CentOS/RHEL)
After installing Docker, open your terminal/command prompt and run these commands to verify everything is working:
# Check Docker version
docker --version
# Verify Docker is running properly
docker run hello-worldIf both commands run successfully, you're ready for the workshop!
-
WSL 2 not enabled
- Open PowerShell as Administrator
- Run:
wsl --install - Restart your computer
-
Virtualization not enabled
- Enter BIOS settings on startup
- Enable virtualization (VT-x for Intel, AMD-V for AMD)
- Docker Desktop failing to start
- Ensure you have the latest version
- Try resetting Docker to factory defaults
- Permission denied when running Docker commands
- Add your user to the docker group:
sudo usermod -aG docker $USER - Log out and back in for changes to take effect
- Add your user to the docker group:
If you encounter any issues during setup:
- Check our troubleshooting guide
- Open an issue in this repository
- Email us at alcoding@pes.edu
Here's what we'll cover in the workshop:
- Introduction to containerization
- Overview of Docker
- Basic Docker commands
- Creating your first container
- Building custom images
- Working with Docker Compose
Looking forward to seeing you at the workshop! 🐳
Note: Please complete the setup at least one day before the workshop to ensure we can help you with any issues.