Overview

Full name
docker.io/nouchka/sqlite3
Registry
docker.io
Namespace
nouchka
Repository
sqlite3
Cached tags
1
Last synced
07/06/2026, 08:38 AM

Introduction

sqlite3 CLI 镜像,在 CI 或 init 容器中执行 SQLite 数据库脚本与迁移。

Details

nouchka/sqlite3 提供 sqlite3 二进制,典型 --rm 挂载 db 文件执行 .read schema.sql定位为 --rm CLI 工具,K8s initContainer/Job。

快速启动

docker run --rm \
  -v $(pwd):/data \
  docker.io/nouchka/sqlite3:latest \
  sqlite3 /data/app.db ".tables"

推荐实践

docker run --rm \
  -v /data/app:/data \
  docker.io/nouchka/sqlite3:3.45.0 \
  sqlite3 /data/app.db < /data/migrate.sql

核心参数说明

  • -v .../data:... — SQLite 文件目录
  • .tables / migrate.sql — SQL 操作
  • 定位 — CI/init --rm CLI
  • 固定 tag — sqlite 版本 pin

Latest tags (20)

View all 1 tags →
TagArchPushed AtSizeDigestSyncWishAction
docker.io/nouchka/sqlite3
:latest
linux/amd64
2026/06/06 22:1329.0 MBsha256:644ea0ae5a67