Test Your Knowledge: Docker and Containers

1. What is the main purpose of a container?

2. Why might an application fail when moved from a Windows machine to an Ubuntu server?

3. What does Docker help developers achieve?

4. What is included in a container?

5. What problem does Docker solve?

6. What is Docker primarily used for?

7. What is a key benefit of using containers?

8. What does Docker ensure when deploying applications?

9. What is Docker Hub?

10. What command is used to pull an image from Docker Hub?

11. How can you inspect the details of a Docker image?

12. What command is used to view the history of a Docker image?

13. What does the `docker run` command do?

14. What option is used to run a container in detached mode?