ContainerD Debugging Client Tool CLI - CTR with demo

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 พ.ย. 2024

ความคิดเห็น • 27

  • @YouTubers-rj9xv
    @YouTubers-rj9xv 2 ปีที่แล้ว +1

    I am really not sure whether you know Telugu or not
    ఇంత in-depth kubernetes knowledge చాలా ఓపికగా చాలా ఎక్కువ విషయాన్ని చెబుతూ చెప్పినా యూట్యూబ్ మీరు ఒక్కరే
    Thankyou so much.... Expecting more in the future...

    • @learnwithgvr
      @learnwithgvr  2 ปีที่แล้ว +2

      Appreciate your feedback & do watch all other videos as well. My channel is to share the knowledge. Keep learning

  • @x.Prep.Tastic.Sophia.x
    @x.Prep.Tastic.Sophia.x 2 ปีที่แล้ว +1

    Well described and great clear manner of explaining and linking the different topics. keep up the good work.

    • @learnwithgvr
      @learnwithgvr  2 ปีที่แล้ว

      Thanks you Kev, keep learning

  • @sandeepmalviya100
    @sandeepmalviya100 2 หลายเดือนก่อน

    Excellent video. Thank you

    • @learnwithgvr
      @learnwithgvr  2 หลายเดือนก่อน

      Thank you Sandeep

  • @keratishvili
    @keratishvili 2 ปีที่แล้ว

    would love see more continer/kubernetes related topics

  • @YouTubers-rj9xv
    @YouTubers-rj9xv 2 ปีที่แล้ว

    Bro excellent teaching thankyou

  • @vamshikrishna4579
    @vamshikrishna4579 2 ปีที่แล้ว +1

    Hi Venkata,
    Are you providing any training on docker and kubernetes?

    • @learnwithgvr
      @learnwithgvr  2 ปีที่แล้ว

      Are you looking for any training?...buzz me in LinkedIn

    • @vamshikrishna4579
      @vamshikrishna4579 2 ปีที่แล้ว

      @@learnwithgvr yes I am looking

    • @vamshikrishna4579
      @vamshikrishna4579 2 ปีที่แล้ว +1

      I have send connect request in LinkedIn

    • @vamshikrishna4579
      @vamshikrishna4579 2 ปีที่แล้ว

      @@learnwithgvr Hi Venkata,
      I have contacted you in LinkedIn...Could you please let me know when you will be free so that we can have a discussion?

  • @MASQ1413
    @MASQ1413 ปีที่แล้ว

    Should we have to download & install "ctr" individually or it is already attached with containerd ???
    I made a k8s cluster using containerd as a container runtime, but dont understand how to see containers in worker node..
    Please help me to know....

    • @learnwithgvr
      @learnwithgvr  ปีที่แล้ว

      Ctr is already available

    • @MASQ1413
      @MASQ1413 ปีที่แล้ว

      @@learnwithgvr thanku for clearing my doubt... 👍

  • @k8s.junior
    @k8s.junior ปีที่แล้ว

    Hi. , How can we delete the unused images and snapshots and content inside /var/lib/containerd because its taking too much of space . Is there any command like docker image prune or system prune , if anything let us know .

    • @learnwithgvr
      @learnwithgvr  ปีที่แล้ว

      Try these... removes all unsed images, stopped containers, volumes etc
      ctr --namespace xyz containers prune
      ctr --namespace xyz images prune
      ctr --namespace xyz content prune
      Pls subscribe and like

    • @albertadiprasetyo5284
      @albertadiprasetyo5284 4 หลายเดือนก่อน

      @@learnwithgvr Hi venkata, my ctr only have content prune option available. I cannot do image prune or container prune. I wonder why ? If i just use content prune does it prune unused image, containers and volume ?

  • @adarshrao4393
    @adarshrao4393 2 ปีที่แล้ว

    Hi Can anyone tell me how we can run ctr container as non root user?

    • @learnwithgvr
      @learnwithgvr  2 ปีที่แล้ว

      containerd is runtime and ctr is cli tool based on the GRPC api for debugging troubleshooting etc. In order to run as non root user, you need harden at docker image creation level, then container orchestration level, implement various CKS security hardening mechanisms. I hope you get it what i mean.

    • @adarshrao4393
      @adarshrao4393 2 ปีที่แล้ว

      ​@@learnwithgvr well the problem is, in case of docker cli, in order to run container as non root user, i used to create docker group and add the user to the group(in host) and then create same user in dockerfile and then run container with -u , but im not sure how to do the same using ctr cli.

    • @learnwithgvr
      @learnwithgvr  2 ปีที่แล้ว

      ​@@adarshrao4393got it. ContainerD is completely loosely coupled, can achieve anything. for your use case -uidmap --gidmap, --privileged=false to be used with ctr.
      refer ctr run -h for all commands
      Alternatively you can achieve using nerdctl or RootlessKit.
      Refer github.com/containerd/containerd/blob/main/docs/rootless.md
      rootlesscontaine.rs/
      github.com/containerd/nerdctl
      Hope it helps

    • @adarshrao4393
      @adarshrao4393 2 ปีที่แล้ว

      @@learnwithgvr i need to strictly use ctr cli, i knw we can do it with nerdctl, but anyways this will help me. Thanks a lot😀.

    • @learnwithgvr
      @learnwithgvr  2 ปีที่แล้ว +1

      You are welcome and keep learning