$ curl -X PUT http://localhost:5984/koi
{"ok":true}$ curl -X POST http://localhost:5984/koi -d '{"name":"alice","age":25}' -H'Content-Type:application/json'| FROM debian:bookworm as builder | |
| # parts borrowed from https://gist.github.com/rikka0w0/50895b82cbec8a3a1e8c7707479824c1 | |
| ARG DEBIAN_FRONTEND=noninteractive | |
| RUN apt update && \ | |
| apt install --yes \ | |
| git \ | |
| gcc \ | |
| make \ |
| # install btrfs + bees (dedup daemon) | |
| # --------------------------------- | |
| # add new "big" disk to vm (edit vm, add new disk) | |
| # be root | |
| su - | |
| # check for new disk in guest |
| import logging | |
| import atexit | |
| import pprint | |
| class DeduplicationFilter(logging.Filter): | |
| def __init__(self): | |
| self.last_record = None | |
| self.count = 1 | |
| atexit.register(self._flush) |