Skip to content
masterclass Buddy

Docker · Directive

RUN

docker run creates and starts a container from an image. It isolates the container's file system, network, and process tree from the host.

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.

Subscribe
  • docker create
  • docker ps
  • docker logs
  • docker attach
  • docker exec
  • docker network create
  • docker compose run

Source: Running containers. Checked 2026-11-03.