Skip to content

cagrin/azure-sql-edge-arm64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

version docker stars docker pulls

Featured Tags

linux/arm64 images only

Tag Product Version Release date
latest Azure SQL Edge
PowerShell
SqlServer (module)
sqlcmd-arm64
mssql-tools18
15.0.2000.1574
7.4.2
22.2.0
0.2.0
18.2.1.1-1
2023-02-09
2024-04-11
2024-01-16
2023-05-04
2023-02-10

Usage

Unfortunatelly sqlcmd tool is not available inside the ARM64 version of Azure SQL Edge container1, that is why this image contains installed PowerShell2 with SqlServer3 module and custom version of sqlcmd-arm644.

Now you can use:

  • Invoke-SqlCmd from pwsh

or

  • /opt/mssql-tools/bin/sqlcmd

inside ARM64 version of Azure SQL Edge container, tadam.

Update - September 2023

Following Microsoft's announcement5, Azure SQL Edge based on ARM64 architecture is retired. Alternatively, it is possible to run SQL 2017/2019/2022 and Azure SQL Edge AMD64 containers on Apple Silicon using Docker Desktop for macOS v4.16+.

Alternative ways - March 2024

According to the article6 "Install the SQL Server command-line tools sqlcmd and bcp on Linux" there are both x64 and arm64 architectures of sqlcmd and bcp. These tools are bundled in the mssql-tools18 package (not mssql-tools) and are installed on this image.

Now you can use:

  • /opt/mssql-tools18/bin/sqlcmd

and

  • /opt/mssql-tools18/bin/bcp

Configuration

Requires the following environment flags:

  • ACCEPT_EULA=Y
  • MSSQL_SA_PASSWORD=

References

1) https://hub.docker.com/_/microsoft-azure-sql-edge

2) https://learn.microsoft.com/en-us/powershell/scripting/install/install-other-linux?view=powershell-7.4#binary-archives

3) https://docs.microsoft.com/en-us/sql/powershell/download-sql-server-ps-module?view=sql-server-ver15

4) https://github.com/cagrin/sqlcmd-arm64

5) https://techcommunity.microsoft.com/t5/sql-server-blog/azure-sql-edge-update-september-2023/ba-p/3930827

6) https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-setup-tools?view=sql-server-ver16&tabs=ubuntu-install

About

Images for Microsoft Azure SQL Edge on ARM64 for Docker Engine. Works on Mac with Apple silicon.

Resources

License

Stars

Watchers

Forks