My docker could not connect and could not run nuclei, what should I do?

this is the error
Post “https://hub.docker.com/v2/access-tokens/desktop-generate”: dialing hub.docker.com:443 with direct connection: connecting to 108.160.170.39:443: dial tcp 108.160.170.39:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
2023-07-21 15:53:50 [INF] Your current nuclei-templates are outdated. Latest is v9.5.8
2023-07-21 15:54:20 [ERR] Could not find template ‘/root/nuclei-templates’: no templates found in path /root/nuclei-templates
2023-07-21 15:54:20 [INF] Current nuclei version: v2.9.9 (latest)
2023-07-21 15:54:20 [INF] Current nuclei-templates version: (outdated)
2023-07-21 15:54:20 [INF] No results found. Better luck next time!
2023-07-21 15:54:20 [FTL] Could not run nuclei: no valid templates were found

1 Like