Docker compose failed

Issue with docker compose task, What have I done wrong
I have created the docker-compose.yml file which has the following:

version: ‘3.3’

services:
httpd:
image: “httpd:latest”
ports:
- “3001:80”
volumes:
- /opt/sysops:/usr/local/apache2/htdocs

Please look below are the screenshots:

Because your container name is not “httpd”. You have to add one more field “container_name: httpd” in your docker-compose file.

Below services field that’s a service name of docker-compose file for a given image’s container.

oh crap, thank you for pointing that out. I feel bad, just because of one small issue i have failed this task.