Docker Compose (Docker Stack) image: Specify the image to start the container from. Can either be a repository/tag or a partial image ID.If the image does not exist, Compose attempts to pull it, unless you have also specified build, in which case it…