Backup
- docker volume ls
- docker run --rm -v chroma_chroma-data:/data -v C:/backup:/backup busybox tar cvf /backup/chroma_chroma-data.tar /data
Remove
- docker remove old container
Get-New
- get new version from https://github.com/chroma-core/chroma/releases
- docker pull ghcr.io/chroma-core/chroma:0.5.4
- docker run -p 8000:8000 ghcr.io/chroma-core/chroma:0.5.4
Recovery
- docker run --rm -v chroma_chroma-data:/data -v C:/backup:/backup busybox tar xvf /backup/chroma_chroma-data.tar -C /data
- docker run -it --rm -v chroma_chroma-data:/data busybox ls -l /data
沒有留言:
張貼留言