Welcome to the Linux Foundation Forum!

Lesson 9, demo: how to run applications with Pods

josepmaria
josepmaria Posts: 41
edited October 4 in LFS158 Class Forum

Hello,

Here is my question:

Is it possible to see the containers deployed on the docker desktop application?

Perhaps the question is completely wrong, but I am confused about the nature of the containers in the Pods.

I have followed the interesting lab, and while launching and stoping the pods, I could see what was happening on the kubernetes dashboard.

As expected, on the Kubernetes dashboard, I could see the Pods, and when clicking on them I could see the container details.

On the other hand, I thought I would have a look at the docker desktop too, but I could not see any container deployed.

Since I could not see the contaienrs in the docker desktop application, I wonder about the type of containers deployed in the pod, and if there is any other platform (other than kubernetes) where we can also see the deployed containers.

I hope my question and reasoning makes sense. Thank you.

Best Answer

  • chrispokorni
    chrispokorni Posts: 2,337
    Answer ✓

    Hi @josepmaria,

    While it is possible to use the docker CLI to watch containers deployed on the Minikube Kubernetes cluster, this is outside the scope for this course. Troubleshooting any adverse effects of a possible misconfiguration are also outside of scope.

    However, you can explore the minikube docker-env command that enables the docker CLI of your host workstation to access the docker runtime of the Minikube cluster: https://minikube.sigs.k8s.io/docs/commands/docker-env/.

    According to the documentation, this feature works only if Minikube runs with a virtual machine driver and installs the default docker container runtime.

    For further reading: https://minikube.sigs.k8s.io/docs/tutorials/docker_desktop_replacement/.

    Regards,
    -Chris

Answers

Categories

Upcoming Training