Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.03 KB

File metadata and controls

30 lines (20 loc) · 1.03 KB

Running in Docker

Pre-requisites:

Download the Dockerfile for SQLitely, build and run the Docker image:

    wget https://raw.githubusercontent.com/suurjaak/SQLitely/master/build/Dockerfile
    docker build . -t sqlitely

    xhost +
    docker run -it --rm --net=host --mount source=/,target=/mnt/host,type=bind -e DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix/ sqlitely

docker build . -t sqlitely will prepare an Ubuntu 20.04 Docker image and install SQLitely and its dependencies within the container.

xhost + will allow the container to access the X Window System display.

Add sudo before docker commands if current user does not have rights for Docker.

Add --mount source="path to host directory",target=/etc/sqlitely after docker run to retain SQLitely configuration in a host directory between runs, e.g. --mount source=~/.config/sqlitely,target=/etc/sqlitely,type=bind.

Host filesystem is made available under /mnt/host.