ILUGD / talks

We maintain the issues related to talks/workshops/hackathons/etc. for ILUG-D meetups here.
29 stars 12 forks source link

Introduction to Docker #57

Closed mfrw closed 6 years ago

mfrw commented 7 years ago

Abstract An light-hearted introduction to docker. The Talk is divided into 3 main parts. Part I will build a base for docker. Part II will dive into docker. Part III will touch on some advanced topics.

Expected Duration 90 Mins

Track

Pre-requisite Laptops

Resources https://docs.docker.com

Slides https://github.com/mfrw/talks/blob/master/docker-intro/docker-intro.pdf

mystictot commented 7 years ago

Thanks a lot for creating issue.

aakash-garg-olx commented 7 years ago

I would prefer to read container technology first then move to Docker. Till the time you don't know about the containers, you can never understand how docker is running in the backend. https://www.slideshare.net/jpetazzo/anatomy-of-a-container-namespaces-cgroups-some-filesystem-magic-linuxcon?qid=2acc34f9-cef8-4369-abd6-471a7fb0495d&v=&b=&from_search=2 https://www.slideshare.net/kerneltlv/namespaces-and-cgroups-the-basis-of-linux-containers?qid=8cf4a4c5-fe22-4454-8236-2f3b4da0f8ed&v=&b=&from_search=4

mfrw commented 7 years ago

@aakash-garg-olx sure dude that is an awesome idea. The way I have structured my slides is that we first talk a little about the need for virtualization. Then a little about containers. Then we dive into docker. I agree talking about containers should be prior to this talk, but IMHO getting a hands on docker will get the audience ample experience to start using them effectively. If they want more information, they surely can read more. [Just a point of view, fully open for discussion]

aakash-garg-olx commented 7 years ago

@mfrw my approach to teaching Docker is to teach the audience about Linux Cgroups & Namespaces, and then Container Technology, then I would like to move to LXCs which was being used when there was no concept of Docker, after that, I would be doing hands-on on LXCs, and then I will move to Docker. Also, I would like to give some review on the slides created by you. I like the foundation part in the slides. But you are talking very less about the Containers and Docker examples which you are showcasing in the slides are not good examples. Examples must include the scenarios which are being used in the companies.

mfrw commented 7 years ago

@aakash-garg-olx can you give me some pointers on what examples to include. I will update my slides accordingly :)

aakash-garg-olx commented 7 years ago

@mfrw Try to setup Wordpress Site using Docker. Setup separate containers for the Wordpress site, MySQL, web server (Apache or Nginx). Connect all three together and set up the whole application. It is the good example to explain the working of the Docker. If you want to discuss more on this let me know.

rajudev commented 7 years ago

No one mentioned chroots here in the discussion. The actual flow is chroots -> LXC -> docker Also I would recommend that the workshops should be more hands-on than theoretical. Only required enough concepts should be provided. Too much detail has resulted into over lengthy dragged talks in the past. I will hope that it won't be repeated in the same manner again. People who are actually interested in the detail can read the documentations later.

rajudev commented 7 years ago

@mfrw you already have an issue #14 with a similar title. Since this was created after that, this one is a duplicate of it. Right? Did you forgot that you already had an issue reported?

mfrw commented 7 years ago

@rajudev Yes, I had forgotten about the earlier one. I thought that was closed. (my bad) Sure I am planning to cut the slides so that we don't drag around much.

Mryashbhardwaj commented 7 years ago

@rajudev , @aakash-garg-olx , I am keen to attend this session. Since you guys are the experts in this domain, please suggest me some good theoretical/conceptual resources. So that I can come prepared and get the most from the event.

rajudev commented 7 years ago

@mryashbhardwaj I am no expert. I know very little. I would suggest you trying creating a chroot understand what it is. then you try creating an LXC container, and then move towards docker . You will find sufficient resources on them over the web. Or you can ask on resources if needed in group or here.

sourabhtk37 commented 7 years ago

Thanks for the lovely talk. It was very insightful. @mfrw @aakash-garg-olx Would you like to propose a talk going a bit more deep?

aakash-garg-olx commented 7 years ago

@sourabhtk37 I can try, but I would like to know, what things have been completed already. So that I think of the agenda to be delivered.

sourabhtk37 commented 7 years ago

but I would like to know, what things have been completed already

@mfrw Pls to shed some light over this.

mystictot commented 7 years ago

@aakash-garg-olx , He covered basic working of docker. You can refer slides for more details

mfrw commented 7 years ago

@sourabhtk37 sure dude. @aakash-garg-olx I covered the very very basics of containers. I tried to show a basic usage of docker, starting from chroots, then a little bit of Jails & Zones, some LXC, and then we straight away jumped to Docker.

I have two slides, which may give you a rough idea of what is covered. Although the second deck was not presented at ILUG-D, I covered the content verbally.

docker-intro.pdf gdg_17.pdf