The document outlines the requirements for Part 1 of a Docker project for a course on Operating Systems, detailing tasks related to code snippets, installation of dependencies, and application deployment. It includes instructions for taking screenshots to document the successful execution of various steps, such as connecting to a database and using Postman. Additionally, it specifies tasks related to managing Docker containers, including starting, stopping, and monitoring resource usage.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
34 views
Docker-Project-Submission(1) (2)
The document outlines the requirements for Part 1 of a Docker project for a course on Operating Systems, detailing tasks related to code snippets, installation of dependencies, and application deployment. It includes instructions for taking screenshots to document the successful execution of various steps, such as connecting to a database and using Postman. Additionally, it specifies tasks related to managing Docker containers, including starting, stopping, and monitoring resource usage.
• Compile and execute code (10 marks). Steps: o Install all dependencies locally and take a screenshot(s) of the successful installation.
[Fig.7: Backend Dependencies]
[Fig.8: Frontend Docker File]
o Run the application locally to verify that it works as expected and take screenshot(s). • Deploy code on docker (10 marks). Steps: • Connect to DB Docker container (10 marks). Steps:
• Postman screenshots (20 marks). Steps:
Part 2: Screenshots • Assign a name to the container, start the Docker container in detached mode and take a screenshot (4 marks). • Monitoring Docker containers (4 marks):
• Terminate Docker container (4 marks):
o Using Docker CLI: ▪ Stop the container and take screenshot(s) confirming that the container has stopped. ▪ Remove the container and take screenshot(s) confirming container removal. o Using Windows Task Manager: ▪ Find the Docker process, end it and take screenshot(s) showing Docker process termination.
o Stop the container with a Docker command and take screenshot(s) showing graceful shutdown. • Quick monitoring and troubleshooting (4 marks): o Monitor resource usage using a Docker command and take screenshot(s) showing resource usage statistics. o Inspect container state using Docker command (docker inspect …) and take screenshot(s) of inspection output. o Check and view logs for issues using the necessary Docker command and take screenshot(s) of output.