How to install Sql Server 2019 on docker

You can follow the instructions from the microsoft web: https://docs.microsoft.com/es-es/sql/linux/quickstart-install-connect-docker?view=sql-server-linux-ver15

Install the image from the microsoft store:

 

Check the new image:

 

Docker container:

 

Check the new container:

 

If you want to connect to the container:

 

From here to sqlcmd:

 

If you want to access to sqlcmd from your computer:

 

Create a new database:

 

Check the databases created:

 

Choose database for using it:

 

Create a table:

 

Insert some data:

 

Select the data:

 

If you want to remove the installed docker:

sudo docker stop sqlserver19
sudo docker rm sqlserver19

 

Adding value with arumel!!

 

 

 

 

%d bloggers like this: