C-D-theory

Containerization Class – 3 February

Task: Docker API Study and Practical Implementation


Objective

To study Docker API and understand how containers can be accessed and managed externally.


https://upessocs.github.io/#dir=/Lectures/Containerization%20and%20DevOps/Theory/&file=014%20Docker%20API.md


Description

In this task, Docker API documentation was studied to understand how Docker exposes container information through REST endpoints.

The Docker daemon was accessed through HTTP to retrieve container details.


Steps Performed


Output Screenshots

Screenshot 1: Docker API Documentation

API Doc


Screenshot 2: Enabling API Access

Enable API


Screenshot 3: Browser API Access

Browser API


Screenshot 4: JSON Output

JSON Output


Screenshot 5: Container List

Container List


Screenshot 6: API Testing

API Test


Screenshot 7: URL Modification

URL Modify


Screenshot 8: Final Output

Final Output


Observation


Conclusion

Docker API was studied and implemented successfully.

This experiment helped in understanding how Docker can be integrated with external systems using REST interfaces.