0% 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.

Uploaded by

maleksameer715
Copyright
© © All Rights Reserved
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% 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.

Uploaded by

maleksameer715
Copyright
© © All Rights Reserved
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
You are on page 1/ 16

CPSY 300

Operating Systems

Docker Project: Part 1 out of 4 Parts

Weight: 12.5 %

Student Name: Mohammad Sameer Malek

Student ID: 000915316


Part 1: Screenshots
• Code content includes the following code snippets (20 marks):

[Fig.2: server.js]

[Fig.1: App.js] [Fig.3: route.js]


[Fig.4: Docker-Compose.yml File]

[Fig.5: Backend Docker File] [Fig.6: Frontend Docker File]


• 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.

• Signaling Docker container (4 marks). Graceful shutdown:


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.

You might also like