in This Tutorial you will Learn " How To Run Microsoft SQL Server in Podman"
Microsoft SQL Server is a relational database management system developed by Microsoft.
Podman is a daemonless container engine for developing, managing, and running OCI Containers on your Linux System.
_________________________________________________________________________________________
Server - Os: Rocky Linux 8.5 64Bit | IP -192.168.1.20 | Hostname - www.primaryhost.com
_________________________________________________________________________________________
cat /etc/system-release ; sestatus ; hostname ; hostname -I ; dnf groupinstall "Development Tools" -y
dnf install podman -y
mkdir -p /var/mssql/data ; chmod 755 -R /var/mssql/data
podman pull mcr.microsoft.com/mssql/server:2019-latest
podman run -d -e 'ACCEPT_EULA=Y' -e \
'MSSQL_SA_PASSWORD=Passw0rd' \
--name MySQL1 \
-p 1460:1433 \
-v /var/mssql/data:/var/mssql/data:Z \
mcr.microsoft.com/mssql/server:2019-latest
podman exec -it MySQL1 "bash"
/opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P "Passw0rd"
_________________________________________________________________________________________
Saturday, March 12, 2022
Run Microsoft SQL Server in Podman
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment