{"id":13706960,"url":"https://github.com/ormico/sqlpackage-docker","last_synced_at":"2026-01-17T08:48:47.117Z","repository":{"id":47435800,"uuid":"294864957","full_name":"ormico/sqlpackage-docker","owner":"ormico","description":"SqlPackage in a Docker image","archived":false,"fork":false,"pushed_at":"2024-03-19T05:21:12.000Z","size":36,"stargazers_count":6,"open_issues_count":6,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-05T23:37:38.610Z","etag":null,"topics":["docker-image","sqlserver"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ormico.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-09-12T03:50:13.000Z","updated_at":"2024-10-15T15:56:47.000Z","dependencies_parsed_at":"2024-01-22T06:37:25.968Z","dependency_job_id":"1547b718-4619-4907-8e36-570db8f14876","html_url":"https://github.com/ormico/sqlpackage-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ormico/sqlpackage-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ormico%2Fsqlpackage-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ormico%2Fsqlpackage-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ormico%2Fsqlpackage-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ormico%2Fsqlpackage-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ormico","download_url":"https://codeload.github.com/ormico/sqlpackage-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ormico%2Fsqlpackage-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28504525,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker-image","sqlserver"],"created_at":"2024-08-02T22:01:13.609Z","updated_at":"2026-01-17T08:48:47.102Z","avatar_url":"https://github.com/ormico.png","language":"Dockerfile","funding_links":[],"categories":["Dockerfile"],"sub_categories":[],"readme":"# SqlPackage in a Docker image\n[![Docker Image CI](https://github.com/ormico/sqlpackage-docker/actions/workflows/docker-image.yml/badge.svg)](https://github.com/ormico/sqlpackage-docker/actions/workflows/docker-image.yml)\n\n[SqlPackage](https://docs.microsoft.com/en-us/sql/tools/sqlpackage?view=sql-server-ver15) is a Microsoft tool for importing and exporting bacpac and dacpac files from SQL Server.\n\nThis Docker image contains sqlpackage and is designed for when you want to run SqlPackage without installing it locally.\n\nThis image also contains `sqlcmd`. This makes this image very useful for running basic SQL Server tasks.\n\n# Docker Hub\n\n[ormico/sqlpackage](https://hub.docker.com/r/ormico/sqlpackage)\n\nThis image is updated regularly on Docker Hub to contain the latest changes from SqlPackage and the base image.\n\n# GitHub \n\n[https://github.com/ormico/sqlpackage-docker](https://github.com/ormico/sqlpackage-docker)\n\n# How to use\n\nExamples are in Powershell but can be easily converted to bash.\n\n## SqlPackage\nThe following example downloads a bacpac of database exampledb1 to a folder named download.\n\nStart by creating a `$path` variable which is an absolute path to a folder named `download`.\n\nThen execute `sqlpackage` by running the docker container and specifying sqlpackage and the parameters. Progress will be printed to the console and the file will be saved to the `download` subfolder.\n```\n$path = join-path (pwd) '/download'\ndocker container run -ti --rm -v ${path}:/download ormico/sqlpackage sqlpackage /a:export /scs:\"Server=my-example-azure-server.database.windows.net;Database=exampledb1;User Id=myadmin;Password=Password1@;\" /tf:/download/exampledb1.bacpac\n```\n\n# Known Issues\n\n* Base image is the MS SQL Server 2019 image. I don't use SQL Server but it was the only base image I could find that would successfully run SqlPackage. This does cause a message to print with SQL Server information when the container starts. A future version may remove SQL Server by changing the base image again.\n\n# Additional Resources\n* [https://github.com/microsoft/mssql-docker](https://github.com/microsoft/mssql-docker)\n* [Linux Microsoft ODBC Driver for SQL Server](https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-ver15#ubuntu17)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Formico%2Fsqlpackage-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Formico%2Fsqlpackage-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Formico%2Fsqlpackage-docker/lists"}