Mac - Docker SQL Server Setup / Azure Data Studio Restore

Wednesday, October 27th, 2021 | System
Last Modified: 2024-11-07



This is old. Install Docker/SQL per Microsoft instructions and use VS Code to mount the file structure. VERY EASY.

https://setapp.com/how-to/install-sql-server ( Untested )

Docker SQL Setup:

docker run -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=asdf1234" -p 1433:1433 -d mcr.microsoft.com/mssql/server:2017-latest

sudo docker exec -it goofy_pare mkdir /var/opt/mssql/backup

sudo docker cp Township_backup_2021_10_19_020002_4020622.bak goofy_pare:/var/opt/mssql/backup

Azure Restore:

https://www.quackit.com/sql_server/mac/how_to_restore_a_bak_file_using_azure_data_studio.cfm

https://www.quackit.com/sql_server/mac/how_to_copy_a_file_from_the_host_to_a_docker_container.cfm




Input Action Output
A collection of snippets and links that have proven useful for development and programming in ColdFusion, JavaScript, jQuery, PHP, Python, Dell, Minecraft, Apple, Mac, Windows, LINUX, Raspberry Pi, Adobe, CSS, and HTML.

©2024 Input Action Output