[ art / civ / cult / cyb / diy / drg / feels / layer / lit / λ / q / r / sci / sec / tech / w / zzz ] archive provided by lainchan.jp

lainchan archive - /q/ - 13059



File: 1487843956341.png (322.3 KB, 243x300, 0IzBClM.jpg)

No.13059

Appleman, is it true you did rm -rf on the lainchan server?
What content was lost?

  No.13060

>>13059

I ran

  find '/var/lib/docker/volumes/' -mindepth 1 -maxdepth 1 -type d | grep -vFf <(
docker ps -aq | xargs docker inspect | jq -r '.[]|.Mounts|.[]|.Name|select(.)'
) | xargs -r rm -fr

I should have run

  docker volume ls -qf dangling=true | xargs -r docker volume rm 

Either way 11GB of dangling docker volumes were deleted, and I don't believe anything important was lost, but if you can find something that isn't working as it should, please let me know.