Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 |
Tags
- 주피터 노트북
- 딥스트림
- 도커
- nouveau
- tao_toolkit
- 스프링
- 백준
- 도커 컨테이너
- 정처기
- 네트워크
- SQLD
- 타오툴킷
- nfs mount
- docker
- Linux
- mAP@.5
- 리눅스
- C++
- 알고리즘
- 비디오미리보기
- yolov7
- deepstream
- 딥러닝
- Python
- Spring
- IOU
- 파이썬
- C
- pyMySQL
- dkms
Archives
- Today
- Total
한 번만 더 해보자
[ubuntu/docker] Unable to find image 'container-name' locallydocker: Error response from daemon: pull access denied for container-name, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.See 'dock.. 본문
Linux
[ubuntu/docker] Unable to find image 'container-name' locallydocker: Error response from daemon: pull access denied for container-name, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.See 'dock..
정 하임 2024. 1. 4. 21:17원인
nvidia가 갑자기 사라져서 처음부터 설치해야 했다
에러 코드
root@ip-172-31-44-236:/home/ubuntu# docker run -it container-name
Unable to find image 'container-name' locally
docker: Error response from daemon: pull access denied for container-name, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
root@ip-172-31-44-236:/home/ubuntu# docker start container-name
Error response from daemon: failed to create shim task: OCI runtime create failed:
runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy'
nvidia-container-cli: initialization error: nvml error: driver not loaded: unknown
Error: failed to start containers: container-name
해결방법
- nvidia를 재설치 하니 해결됨
nvidia-smi 설치하기
- 권장 드라이버 자동으로 설치
sudo ubuntu-drivers autoinstall
- 원하는 버전 수동으로 설치
$ sudo add-apt-repository ppa:graphics-drivers/ppa
$ sudo apt update
$ sudo apt install nvidia-driver-xxx
코드 설치 후 apt update하기
$ sudo apt update
$ sudo apt upgrade
nvidia-smi 설치 후 nvidia-smi 하니 정상적으로 작동됐다
반응형