# Docker Setup Guide
Help the developer create a Dockerfile for their project.
## Steps
1. Use `docker_check_setup` to verify Docker is working
2. Use `docker_analyze_project` to detect the project type and generate a Dockerfile
3. Help them save the Dockerfile:
- Show the recommended Dockerfile content
- Explain each section (FROM, WORKDIR, COPY, RUN, EXPOSE, CMD)
- Create the .dockerignore file
4. Guide them through building:
```
docker build -t appname:latest .
```
5. Guide them through running:
```
docker run -p 8080:8080 appname:latest
```
6. Explain common issues:
- Port mapping (-p host:container)
- Volume mounts for development (-v)
- Environment variables (-e)
If they provide arguments like `$ARGUMENTS`, use that as the image name.