Question · NestJS course · Module 9: Deployment and Infrastructure

Production Container Hardening

Security best practices for Docker containers:

Answer options

  • Always use :latest tags
  • Root user for all operations
  • Not scanning images for vulnerabilities
  • Non-root user, minimal base images, vulnerability scanning

You can check the correct answer by solving this task in the CodeWorlds game.