Docker · Directive
CMD
docker run creates and starts a container from an image. You can set its command, entrypoint, environment, user, networking, and health-check settings.
Last updated
Syntax
docker run [OPTIONS] IMAGE[:TAG|@DIGEST] [COMMAND] [ARG...]In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
docker createCMDENTRYPOINTHEALTHCHECKUSERdocker psdocker inspect