LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Containers (https://www.linuxquestions.org/questions/linux-containers-122/)
-   -   Docker or Kubernetes for new user (https://www.linuxquestions.org/questions/linux-containers-122/docker-or-kubernetes-for-new-user-4175713692/)

AnayX 06-21-2022 09:11 AM

Docker or Kubernetes for new user
 
Hi,
This is not really a problem ,at my work I have been asked to get my self comfortable with kubernetes. I had plan to dive into dockers but now Have been forced to learn kubernetes. I have not yet practically used but I need to understand can I learn kubernetes and forget about docker or I need to learn both ?

What is real use case of both technologies or I can actually avoid both as I have knowledge and experience in linux Virtual machines ?

smallpond 06-21-2022 10:48 AM

Both K8 and Docker use kernel namespaces and cgroups to make containers. This lets you run more apps on one server than VMs would allow since you don't have to run a bunch of guest kernels. You could do all this yourself, but the frameworks make it much easier to have a template image and create containers as required.

AnayX 06-21-2022 02:34 PM

Say I want to learn these, how should I go, just go for any or have to have an order ie. like K8 first then docker or docker first ?

smallpond 06-24-2022 05:28 AM

Since you have to learn K8, K8.

pan64 06-24-2022 07:09 AM

yes, if you need K8 learn K8. You can find a lot of tutorials, examples and videos on the net. And also there are courses.

sundialsvcs 06-28-2022 04:04 PM

Since you have an immediate employer-driven need for KB "right now," I would begin there.

But then, in due time, also explore Docker, as well as lxc/lxd.

Each of these explorations will show you three different ways in which the underlying "containerization" technologies within [Linux ...] have been applied and deployed. The first two are specifically focused at particular use-cases; the third is more low-level and therefore a bit more general.

You would do very well to carefully explore each of them in turn. These are excellent career skills to be able to say that you have, because "containerization" is now very widely used in "the cloud." And you can never predict which one of them might turn out to be the best "fit" at your next job or consulting engagement.


All times are GMT -5. The time now is 01:37 AM.