Check provider logo

Multiple CMD instructions listed

image_DS-0016

Severityhigh
Servicedocker
by Prowler

There can only be one CMD instruction in a Dockerfile. If you list more than one CMD then only the last CMD will take effect.

Risk

No content available

Run this check with Prowler CLI

prowler image

Recommendation

Dockerfile should only have one CMD instruction. Remove all the other CMD instructions

References