sqlite

Versions: [3.35.5, 3.36.0]

sqlite

Download        : docker pull ghcr.io/autamus/sqlite
Compressed Size : 32MB

Description

SQLite3 is an SQL database engine in a C library. Programs that link the SQLite3 library can have SQL database access without running a separate RDBMS process.

Usage

Pull (Download)

To download the latest version of sqlite run,

docker pull ghcr.io/autamus/sqlite:latest

or to download a specific version of sqlite run,

docker pull ghcr.io/autamus/sqlite:3.35.5

Run

To run the container as an application run,

docker run --rm ghcr.io/autamus/sqlite sqlite --version

or to run the container in an interactive session run,

docker run -it --rm ghcr.io/autamus/sqlite bash

Mounting volumes between the container and your machine

To access files from your machine within the sqlite container you’ll have to mount them using the -v external/path:internal/path option.

For example,

docker run -v ~/Documents/Data:/Data ghcr.io/autamus/sqlite sqlite /Data/myData.csv

which will mount the ~/Documents/Data directory on your computer to the /Data directory within the container.

HPC

If you’re looking to use this container in an HPC environment we recommend using Singularity-HPC to use the container just as any other module on the cluster. Check out the SHPC sqlite container here.