Skip to content

Instantly share code, notes, and snippets.

@ohmydevops
Last active May 24, 2021 20:07
Show Gist options
  • Save ohmydevops/b2bc38f4053cc70c1a81f387147a76d8 to your computer and use it in GitHub Desktop.
Save ohmydevops/b2bc38f4053cc70c1a81f387147a76d8 to your computer and use it in GitHub Desktop.

Revisions

  1. Amirhossein Baghaie renamed this gist May 24, 2021. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. Amirhossein Baghaie revised this gist May 24, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    <div dir='rtl'>
    سعی کردم در این مخزن خلاصه مباحث مرتبط بین لینوکس و کانتینر‌ها رو به واسطه تدریس در دوره آموزشی داکر گرین‌وب، گردآوری کنم.
    اینجا سعی کردم خلاصه مباحث مرتبط بین لینوکس و کانتینر‌ها رو به واسطه تدریس در دوره آموزشی داکر گرین‌وب، گردآوری کنم.

    جزییات دوره: https://evnd.co/l2PJx
    </div>
  3. Amirhossein Baghaie revised this gist May 24, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@
    </div>

    # Containers
    - https://en.wikipedia.org/wiki/OS-level_virtualization
    - First, read this concept: https://fen.wikipedia.org/wiki/OS-level_virtualization
    - Many people use container systems like Docker, but how do they work? https://bit.ly/3fLhb58

    # Users and Permissions
  4. Amirhossein Baghaie revised this gist May 24, 2021. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,6 @@
    <div dir='rtl'>
    سعی کردم در این مخزن خلاصه مباحث مرتبط بین لینوکس و کانتینر‌ها رو به واسطه تدریس در دوره آموزشی داکر گرین‌وب، گردآوری کنم.

    جزییات دوره: https://evnd.co/l2PJx
    </div>

  5. Amirhossein Baghaie revised this gist May 24, 2021. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,6 @@
    <div dir='rtl'>
    در این مخزن خلاصه مباحث مرتبط بین لینوکس و کانتینر‌ها رو به واسطه تدریس در [https://evnd.co/l2PJx](دوره آموزشی داکر در گرین‌وب) سعی کردم گردآوری کنم.
    سعی کردم در این مخزن خلاصه مباحث مرتبط بین لینوکس و کانتینر‌ها رو به واسطه تدریس در دوره آموزشی داکر گرین‌وب، گردآوری کنم.
    جزییات دوره: https://evnd.co/l2PJx
    </div>

    # Containers
  6. Amirhossein Baghaie revised this gist May 24, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    <div dir='rtl'>
    در این مخزن خلاصه مباحث مرتبط بین لینوکس و کانتینر‌ها رو به واسطه تدریس در [دوره آموزشی داکر در گرین‌وب](https://evnd.co/l2PJx) سعی کردم گردآوری کنم.
    در این مخزن خلاصه مباحث مرتبط بین لینوکس و کانتینر‌ها رو به واسطه تدریس در [https://evnd.co/l2PJx](دوره آموزشی داکر در گرین‌وب) سعی کردم گردآوری کنم.
    </div>

    # Containers
  7. Amirhossein Baghaie revised this gist May 24, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    <div dir='rtl'>
    در این مخزن خلاصه مباحث مرتبط بین لینوکس و کانتینر‌ها رو به واسطه تدریس در (https://evnd.co/l2PJx)[دوره آموزشی داکر در گرین‌وب] سعی کردم گردآوری کنم.
    در این مخزن خلاصه مباحث مرتبط بین لینوکس و کانتینر‌ها رو به واسطه تدریس در [دوره آموزشی داکر در گرین‌وب](https://evnd.co/l2PJx) سعی کردم گردآوری کنم.
    </div>

    # Containers
  8. Amirhossein Baghaie revised this gist May 24, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    <div dir='rtl'>
    در این مخزن خلاصه مباحث مرتبط بین لینوکس و کانتینر‌ها رو به واسطه تدریس در بوت‌کمپ داکر هولدینگ گرین‌وب سعی کردم گردآوری کنم.
    در این مخزن خلاصه مباحث مرتبط بین لینوکس و کانتینر‌ها رو به واسطه تدریس در (https://evnd.co/l2PJx)[دوره آموزشی داکر در گرین‌وب] سعی کردم گردآوری کنم.
    </div>

    # Containers
  9. Amirhossein Baghaie revised this gist May 24, 2021. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,6 @@
    <div dir='rtl'>
    در این مخزن خلاصه مباحث مرتبط بین لینوکس و کانتینر‌ها رو به واسطه تدریس در بوت‌کمپ داکر هولدینگ گرین‌وب سعی کردم گردآوری کنم.
    </div>

    # Containers
    - https://en.wikipedia.org/wiki/OS-level_virtualization
  10. Amirhossein Baghaie revised this gist May 24, 2021. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,5 @@
    در این مخزن خلاصه مباحث مرتبط بین لینوکس و کانتینر‌ها رو به واسطه تدریس در بوت‌کمپ داکر هولدینگ گرین‌وب سعی کردم گردآوری کنم.

    # Containers
    - https://en.wikipedia.org/wiki/OS-level_virtualization
    - Many people use container systems like Docker, but how do they work? https://bit.ly/3fLhb58
  11. Amirhossein Baghaie revised this gist May 24, 2021. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,6 @@
    # Containers
    - https://en.wikipedia.org/wiki/OS-level_virtualization
    - Many people use container systems like Docker, but how do they work? https://bit.ly/3fLhb58

    # Users and Permissions
    - User/Groups
  12. Amirhossein Baghaie revised this gist May 23, 2021. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -31,5 +31,4 @@

    # Root user (God)
    - For build? For run?
    - Read more: https://engineering.bitnami.com/articles/why-non-root-containers-are-important-for-security.html
    - Read more: https://medium.com/@mccode/understanding-how-uid-and-gid-work-in-docker-containers-c37a01d01cf
    - Read more: https://engineering.bitnami.com/articles/why-non-root-containers-are-important-for-security.html
  13. Amirhossein Baghaie revised this gist May 23, 2021. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -31,4 +31,5 @@

    # Root user (God)
    - For build? For run?
    - Read more: https://engineering.bitnami.com/articles/why-non-root-containers-are-important-for-security.html
    - Read more: https://engineering.bitnami.com/articles/why-non-root-containers-are-important-for-security.html
    - Read more: https://medium.com/@mccode/understanding-how-uid-and-gid-work-in-docker-containers-c37a01d01cf
  14. Amirhossein Baghaie revised this gist May 23, 2021. 1 changed file with 6 additions and 1 deletion.
    7 changes: 6 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -5,6 +5,7 @@
    - User/Groups
    - File/Directory permissions
    - Read more: https://www.linode.com/docs/guides/linux-users-and-groups/
    - Read more: https://medium.com/@mccode/understanding-how-uid-and-gid-work-in-docker-containers-c37a01d01cf

    # Services/System management
    - Process management
    @@ -26,4 +27,8 @@

    # Standard input/output/error
    - `docker logs`, am i joke to you?
    - Read more: https://www.howtogeek.com/435903/what-are-stdin-stdout-and-stderr-on-linux/
    - Read more: https://www.howtogeek.com/435903/what-are-stdin-stdout-and-stderr-on-linux/

    # Root user (God)
    - For build? For run?
    - Read more: https://engineering.bitnami.com/articles/why-non-root-containers-are-important-for-security.html
  15. Amirhossein Baghaie revised this gist May 23, 2021. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -24,4 +24,6 @@
    - `ENTRYPOINT ["/bin/app"]` vs `ENTRYPOINT /bin/app`
    - Read more: https://emmer.dev/blog/docker-shell-vs.-exec-form/

    # Standard input/output/error
    # Standard input/output/error
    - `docker logs`, am i joke to you?
    - Read more: https://www.howtogeek.com/435903/what-are-stdin-stdout-and-stderr-on-linux/
  16. Amirhossein Baghaie revised this gist May 23, 2021. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -22,4 +22,6 @@

    # Shell Vs Exec
    - `ENTRYPOINT ["/bin/app"]` vs `ENTRYPOINT /bin/app`
    - Read more: https://emmer.dev/blog/docker-shell-vs.-exec-form/
    - Read more: https://emmer.dev/blog/docker-shell-vs.-exec-form/

    # Standard input/output/error
  17. Amirhossein Baghaie revised this gist May 23, 2021. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -13,6 +13,7 @@
    - We need these in the containers?
    - Read more: https://docs.docker.com/config/containers/multi-service_container
    - Read more: https://runnable.com/docker/rails/run-multiple-processes-in-a-container
    - Read more: https://ahmet.im/blog/minimal-init-process-for-containers/

    # POSIX Signals
    - Run `docker run httpd:alpine` and then enter Ctrl+C
  18. Amirhossein Baghaie revised this gist May 23, 2021. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -20,4 +20,5 @@
    - Read more: https://hynek.me/articles/docker-signals/

    # Shell Vs Exec
    - `ENTRYPOINT ["/bin/app"]` vs `ENTRYPOINT /bin/app`
    - Read more: https://emmer.dev/blog/docker-shell-vs.-exec-form/
  19. Amirhossein Baghaie revised this gist May 23, 2021. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -17,4 +17,7 @@
    # POSIX Signals
    - Run `docker run httpd:alpine` and then enter Ctrl+C
    - Read more: https://dsa.cs.tsinghua.edu.cn/oj/static/unix_signal.html
    - Read more: https://hynek.me/articles/docker-signals/
    - Read more: https://hynek.me/articles/docker-signals/

    # Shell Vs Exec
    - Read more: https://emmer.dev/blog/docker-shell-vs.-exec-form/
  20. Amirhossein Baghaie revised this gist May 23, 2021. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -16,4 +16,5 @@

    # POSIX Signals
    - Run `docker run httpd:alpine` and then enter Ctrl+C
    - Read more: https://dsa.cs.tsinghua.edu.cn/oj/static/unix_signal.html
    - Read more: https://dsa.cs.tsinghua.edu.cn/oj/static/unix_signal.html
    - Read more: https://hynek.me/articles/docker-signals/
  21. Amirhossein Baghaie revised this gist May 23, 2021. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -15,4 +15,5 @@
    - Read more: https://runnable.com/docker/rails/run-multiple-processes-in-a-container

    # POSIX Signals
    - Run `docker run httpd:alpine` and then enter Ctrl+C
    - Read more: https://dsa.cs.tsinghua.edu.cn/oj/static/unix_signal.html
  22. Amirhossein Baghaie revised this gist May 23, 2021. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -12,4 +12,7 @@
    - PID 1 (pstree -n -p)
    - We need these in the containers?
    - Read more: https://docs.docker.com/config/containers/multi-service_container
    - Read more: https://runnable.com/docker/rails/run-multiple-processes-in-a-container
    - Read more: https://runnable.com/docker/rails/run-multiple-processes-in-a-container

    # POSIX Signals
    - Read more: https://dsa.cs.tsinghua.edu.cn/oj/static/unix_signal.html
  23. Amirhossein Baghaie revised this gist May 23, 2021. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -10,4 +10,6 @@
    - Process management
    - System management
    - PID 1 (pstree -n -p)
    - We need these in the containers? (Read more: https://docs.docker.com/config/containers/multi-service_container/)
    - We need these in the containers?
    - Read more: https://docs.docker.com/config/containers/multi-service_container
    - Read more: https://runnable.com/docker/rails/run-multiple-processes-in-a-container
  24. Amirhossein Baghaie revised this gist May 23, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    # Containers
    - https://en.wikipedia.org/wiki/OS-level_virtualization
    -

    # Users and Permissions
    - User/Groups
    - File/Directory permissions
  25. Amirhossein Baghaie revised this gist May 23, 2021. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,6 @@
    # Containers
    - https://en.wikipedia.org/wiki/OS-level_virtualization
    -
    # Users and Permissions
    - User/Groups
    - File/Directory permissions
  26. Amirhossein Baghaie revised this gist May 23, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -7,4 +7,4 @@
    - Process management
    - System management
    - PID 1 (pstree -n -p)
    - We need these in the containers?
    - We need these in the containers? (Read more: https://docs.docker.com/config/containers/multi-service_container/)
  27. Amirhossein Baghaie revised this gist May 23, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -7,4 +7,4 @@
    - Process management
    - System management
    - PID 1 (pstree -n -p)
    - We need these in containers?
    - We need these in the containers?
  28. Amirhossein Baghaie revised this gist May 23, 2021. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -6,4 +6,5 @@
    # Services/System management
    - Process management
    - System management
    - PID 1 (pstree -n -p)
    - PID 1 (pstree -n -p)
    - We need these in containers?
  29. Amirhossein Baghaie revised this gist May 23, 2021. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -3,4 +3,7 @@
    - File/Directory permissions
    - Read more: https://www.linode.com/docs/guides/linux-users-and-groups/

    # Services/System management
    # Services/System management
    - Process management
    - System management
    - PID 1 (pstree -n -p)
  30. Amirhossein Baghaie revised this gist May 23, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -3,4 +3,4 @@
    - File/Directory permissions
    - Read more: https://www.linode.com/docs/guides/linux-users-and-groups/

    # Service/Systems management
    # Services/System management