Questions

  1. What does the FROM keyword do in a Dockerfile?
  2. How would you start a container with its predefined command?
  3. Why won't creating a step to remove files in a Dockerfile make a smaller image?
  4. Can you describe how a multistage Docker build works?
  5. What is the difference between the run and exec commands?
  6. When should we use the-it flags when using the run and exec commands?
  7. Do you know any alternatives to uWSGI to serve Python web applications?
  8. What is docker-compose used for?
  9. Can you describe what a Docker tag is?
  10. Why is it necessary to push images to a remote registry?