Welcome to the Linux Foundation Forum!

Lab 5.4 Inevitable Error with crictl

Hi,At Lab 5.4 I can't proceed with an error. I don't know what to do, and the reason of this. Anyway I report here. Thanks.

$sudo crictl images

FATA[0002] connect: connect endpoint 'unix:///var/run/crio/crio.sock', make sure you are running as root and the endpoint has been started: context deadline exceeded

Comments

  • I found an issue similar to this. But this doesn't help for now. Anyway I'll try re-install cri-o and so on.

    https://github.com/kubernetes-sigs/cri-tools/issues/722

  • Posts: 24
    edited July 2022

    Ooops..

    I forgot to start crio.service.. please close this. So sorry.. :(

    1. student@ubuntu:~$ sudo crictl version
    2. FATA[0002] connect: connect endpoint 'unix:///var/run/crio/crio.sock', make sure you are running as root and the endpoint has been started: context deadline exceeded
    3. student@ubuntu:~$ sudo systemctl start crio.service
    4. student@ubuntu:~$ sudo systemctl status crio.service
    5. crio.service - Container Runtime Interface for OCI (CRI-O)
    6. Loaded: loaded (/lib/systemd/system/crio.service; disabled; vendor preset>
    7. Active: active (running) since Sun 2022-07-03 01:07:33 UTC; 4s ago
    8. Docs: https://github.com/cri-o/cri-o
    9. Main PID: 1865 (crio)
    10. Tasks: 9
    11. Memory: 53.4M
    12. CGroup: /system.slice/crio.service
    13. └─1865 /usr/bin/crio
    14.  
    15. student@ubuntu:~$ sudo crictl version
    16. Version: 0.1.0
    17. RuntimeName: cri-o
    18. RuntimeVersion: 1.21.7
    19. RuntimeApiVersion: v1alpha2
    20. student@ubuntu:~$ sudo crictl images
    21. IMAGE TAG IMAGE ID SIZE
    22.  

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training