Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 584 Bytes

File metadata and controls

18 lines (11 loc) · 584 Bytes

docker [OPTIONS] COMMAND

  • COMMAND:

    • info: Display system-wide information

    • docker ps [OPTIONS]: docker container ls

      • -a: show all containers
    • docker create|run [OPTIONS] IMAGE [COMMAND] [ARG...]: Create and run a new container from an image

      • -it:
      • --name:
    • docker rm [OPTIONS] CONTAINER [CONTAINER...]: docker container remove

    • docker start [OPTIONS] CONTAINER [CONTAINER...]: Start one or more stopped containers

    • docker restart [OPTIONS] CONTAINER [CONTAINER...]: Restart one or more containers