sh: 0: getcwd() failed: Input/output error

When installing nvidia-container-toolkit, run the add key command in the terminal, and report an error "sh: 0: getcwd() failed: Input/output error" as shown in the figure

 The problem is: this terminal is under the path of a mobile hard disk, the hard disk has been unplugged, and the path does not exist... (The question is too stupid, there should be no one who has the same problem as me.. ....)

 

Guess you like

Origin blog.csdn.net/qq_16759187/article/details/130567874