Prerequisites:
- Install python and pip
- Install docker
pip install docker
I approached the problem by breaking it down into main tasks, as outlined below. Then I developed these tasks as methods and verified the container's response status code (200) to confirm its functionality.
1. Docker pull
2. Docker run
3. Docker container verification
4. Delete docker container