Skip to content Skip to sidebar Skip to footer

Laravel Sail/docker - Unable To Locate Package Msodbcsql17

I'm trying to get a Laravel Sail Docker to be compatible with sqlsrv (MSSQL). I've come a long way with the config and got it to install sqlsrv and the pdo_sqlsrv. So now I need to

Solution 1:

By default most docker images have an empty package lists to save on image size. This is why you need to apt-get update first. This will not update any software (that would be apt-get upgrade) but just updates the package list. The command is actually also in Microsoft's instructions you linked.


Post a Comment for "Laravel Sail/docker - Unable To Locate Package Msodbcsql17"