SQL2Container
Multi-GB MySQL dumps into Docker – without Workbench.
.sql and .sql.gz stream into the mysql client inside the container. No full unpack to disk.
macOS 14+ · Apple Silicon · Docker required · Free
Why this app exists
Built from daily work – not as a product roadmap.
I could not import large dumps with Adminer, so I had to use MySQL Workbench. From about 10 GB the import took far too long. That is why I built SQL2Container with AI in Swift – and share it as freeware.
The problem
Large dumps into local Docker databases hit the limits of Workbench and manual unzipping.
- MySQL Workbench loads the dump into the UI and sends statements one by one – unusable for multi-GB files.
- Unpacking `.sql.gz` by hand wastes disk and time before the import even starts.
- The target is usually a running MySQL or MariaDB container on Docker Desktop – not a remote server.
How it works
Gzip is decompressed while reading. The file is not written as a full `.sql` to disk. The stream goes to `mysql` inside the container.
- Launch the appRunning Docker containers appear in the left list.
- Pick a containerMySQL, MariaDB or Percona containers show databases with size and table count.
- Choose a dumpVia dialog or drag-and-drop: `.sql` or `.sql.gz`.
- Set optionsOptionally disable index/FK checks and binlog for the session.
- Start importProgress, speed and ETA – cancel anytime.
Features
Only what helps with large dump imports – no clutter.
- Container list with MySQL/MariaDB/Percona first
- Databases with table count and size
- Streaming import for large dumps
- Native gzip support without an intermediate file
- DROP TABLE warning before start
- Progress, speed, ETA and cancel
- Session tweaks: unique_checks, foreign_key_checks, optional sql_log_bin
- Password from container env – logged as *** only
- Multilingual UI and default dump folder
System requirements
Clear and honest – the app only runs where it was built for.
- OS
- macOS 14 or newer
- CPU
- Apple Silicon (arm64) – no Intel, no universal binary
- Docker
- Docker Desktop (CLI + socket available)
- Target DB
- MySQL, MariaDB or Percona in a container
- Price
- Free
- Signature
- Ad-hoc signed, not notarized by Apple
Download
DMG with SQL2Container.app – Apple Silicon only.
SHA-256
662a2eb427a09122bcf4ccbe1b3c53264013179cf1a8deb4306f4b0dd16cdab9
Downloads store IP address, user agent and timestamp (max. 90 days) for abuse prevention. Details: Privacy Policy.
Install & first launch
The app is free and signed, but not notarized by Apple. Gatekeeper often blocks the first launch – that is expected.
- Open the DMGDownload the file and double-click the DMG.
- Move the appDrag SQL2Container.app into Applications (/Applications) or ~/Applications.
-
Allow Gatekeeper
Double-click the app once. You get “cannot be opened” – click Done (do not trash it). Then System Settings → Privacy & Security → Open Anyway → confirm → open again.
After the first launch attempt: Privacy & Security → Open Anyway - Docker & importStart Docker Desktop, pick a MySQL/MariaDB container, choose a dump, start the import.
Having trouble with the app? Email info@skc-web.com
Security & privacy
Local on your Mac – no account, no tracking, no server component.
- No App Sandbox: required for Docker CLI and socket access.
- Passwords are not logged and not stored in UserDefaults.
- Password is passed as MYSQL_PWD to docker exec; logs show *** only.
- No telemetry.
FAQ
Do I need Docker?
Yes. The app talks to Docker Desktop and imports into containers.
Does it run on Intel Macs?
No. Apple Silicon only (M1/M2/M3/…).
Is .sql.gz fully unpacked?
No. Gzip is streamed – the full .sql is not written to disk.
Does the import overwrite tables?
If the dump contains DROP TABLE, yes. The app warns beforehand.
Why does macOS warn on open?
The app is ad-hoc signed and not notarized by Apple. Dismiss with Done, then System Settings → Privacy & Security → Open Anyway.
Is this a Workbench alternative?
Yes – specifically for large dumps into local Docker containers, not a general SQL client.
Where can I get help if something goes wrong?
Just email info@skc-web.com – happy to help with install and import issues.
Was the app created with AI?
Yes. The app, logo and copy were created or assisted with AI. That does not change the freeware license or the limitation of liability.
License
SQL2Container is freeware by SKC-WEB / Sven Krause.
- Free use for personal and commercial purposes.
- Redistribution of the unmodified app is allowed.
- No entitlement to support, updates or notarization.
- No warranty of fitness, correctness or uninterrupted operation.
- Docker, MySQL, MariaDB, Apple and similar names are trademarks of their owners – no affiliation or endorsement.