A Docker image with the Keybase client, installed from Keybase's signed package.
Build the image, start a named container, then log in and provision the device:
docker build --tag langrisha/keybase .
docker run --name keybase -it langrisha/keybaseDetach with Ctrl+P Ctrl+Q, and use Keybase from the host:
echo "secret" | docker exec -i keybase keybase encrypt maxReattach with docker attach keybase.
Copy your user and device configuration out of the container:
docker cp keybase:/home/keybase/.config/keybase configThen build it into an image of your own:
FROM langrisha/keybase
USER root
COPY ./config/* .config/keybase/
RUN chown -R keybase:keybase .config/keybase
USER keybaseThe container runs bash as the user keybase, with UID and GID 1000.