microsoft / go-sqlcmd

The new sqlcmd, CLI for SQL Server and Azure SQL (winget install sqlcmd / sqlcmd create mssql / sqlcmd open ads)
https://learn.microsoft.com/sql/tools/sqlcmd/go-sqlcmd-utility
MIT License
323 stars 56 forks source link

Support for attaching volumes to containers #491

Open dlevy-msft opened 6 months ago

dlevy-msft commented 6 months ago

Implement support for the docker -v flag in SQLCMD container management. Being able to attach a volume on creation and later delete the container, deleting the volume only with --force or a delete volume flag. Allow a new container to be created with that volume attached during creation.

This walkthrough steps through the scenario: https://learn.microsoft.com/en-us/sql/linux/tutorial-restore-backup-in-sql-server-container?view=sql-server-ver16&tabs=prod