Skip to main content

Docker ContainerDocker Image Runtime instance to virtualize OS as lightweight VM (excl Hardware overhead)

aka Container, Containers

Docker Container run on single shared Kernel for less overhead

Docker Container similar to Execution Context - contains everything needed to run Image

Containers run on isolated fs provide by Container Image

References

  1. CMD [] ↔ to set default command on Container run

  2. Containerize ↔ (process) to Package Programs into Container for xplat compat

  3. -d ↔ flag to run Container in Detached Mode

  4. -p 80:80 ↔ to map port 80 of host to Container

  5. ECSAWS Elastic Container Service - container management service to run Docker Container

  6. AWS Service ↔ Scheduler for Docker Container

  7. AWS Task ↔ Group of AWS run Containers

  8. Google Container-Optimized OS ↔ Google Proprietary OS optimize to run Docker Container - incl docker runtime, rm Linux distro binaries (ie pkg manager) for smaller footprint & sec

  9. Docker Compose ↔ tool to define how to run docker app Container via YAML

  10. --chmod ↔ to mod file permissions to rwx on Linux Container

  11. --chown ↔ to change ownership on Linux Container

  12. COPY ↔ to copy new files/dir from <src> to Container fs <dest>

  13. EXPOSE ↔ to expose Port (TCP|UDP) for Container to listen at Runtime