Interview Prep/Docker/Rapid-Fire Commands

Run a container in the background with a name, a port mapping and an env var.

BeginnerProductionRapid-Fire Commands
Answer
docker run -d --name web -p 8080:80 -e APP_ENV=prod nginx:1.27
All Docker questions Roadmap: Docker & containers

More on Rapid-Fire Commands