반응형
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 | 31 |
Tags
- daemon.json
- FileSystemError
- nginx-proxy
- Python
- 파이썬
- 버전
- 퍼이썬
- path-style
- LLM
- ollama
- IQN
- AI
- virtual-hosted-style
- Volumes
- Linux
- modelfile
- 핍
- HuggingFace
- error
- 용량
- Save
- 리눅스
- python3
- GGUF
- 패키지
- docker
- pip3 upgrade
- capacity
- reverse-proxy
- python pip
Archives
- Today
- Total
chargingport
“No Space Left On Device” In Docker 본문
반응형
방법1) 리소스 삭제
docker system prune -a --volumes
WARNING! This will remove:
- all stopped containers
- all networks not used by at least one container
- all anonymous volumes not used by at least one container
- all images without at least one container associated to them
- all build cache
방법2) Docker 루트 디렉토리 변경
# 기존 루트 디렉토리 확인
docker info -f '{{ .DockerRootDir }}'
# 기존 디렉토리와 신규 디렉토리 sync 맞추기
# rsync말고 다른거 써도됨
# sudo rsync -aP <기존> <신규>
sudo rsync -aP /var/lib/docker /data/docker-data
# 도커 daemon.json 수정
sudo vim /etc/docker/daemon.json
{
"data-root": "/data/docker-data"
}
# 도커 데몬 재실행
sudo systemctl restart docker
# 변경된 위치 확인
docker info -f '{{ .DockerRootDir }}'
반응형
'NOTES > ETC' 카테고리의 다른 글
Ollama Modelfile 위치 (0) | 2024.10.04 |
---|---|
portainer docker nginx-proxy뒤에 실행하기 (0) | 2023.09.21 |
nslookup 통해서 도메인 IP 주소 찾기 (0) | 2023.09.18 |
VSCode SSH 저장 권한 오류 (0) | 2023.09.15 |