Comments (2)
Are you able to run:
docker pull mcr.microsoft.com/mssql/server:latest
(this is the basically the same command sqlcmd create
is running at this time (you can also run sqlcmd with a --verbosity 4 flag to get the call stack at the failure, so we can see exactly this API call is failing)
from go-sqlcmd.
Hi.
I ran this and the original command and it looks like the command inside sqlcmd
might not be taking the $env:DOCKER_HOST env var into consideration.
Here is the output:
0 pwsh> docker pull mcr.microsoft.com/mssql/server:latest
latest: Pulling from mssql/server
Digest: sha256:7f33bc7998644f7b106221ced5e75451830cd5d9c669e5888470ad72f8f8559b
Status: Downloaded newer image for mcr.microsoft.com/mssql/server:latest
mcr.microsoft.com/mssql/server:latest
What's Next?
View a summary of image vulnerabilities and recommendations → docker scout quickview mcr.microsoft.com/mssql/server:latest
0 pwsh> sqlcmd create mssql --accept-eula
Downloading mcr.microsoft.com/mssql/server:latest
HINT:
1. Is a container runtime installed on this machine (e.g. Podman or Docker)?
If not, download desktop engine from:
https://podman-desktop.io/
or
https://docs.docker.com/get-docker/
2. Is a container runtime running? (Try `podman ps` or `docker ps` (list containers), does it return without error?)
3. If `podman ps` or `docker ps` works, try downloading the image with:
`podman|docker pull mcr.microsoft.com/mssql/server:latest`
Error: Unable to download image mcr.microsoft.com/mssql/server:latest: error during connect: Post "http://shafiq.jetha%4010.0.0.196/v1.43/images/create?fromImage=mcr.microsoft.com%2Fmssql%2Fserver&tag=latest": dial tcp: lookup [email protected]: getaddrinfow: A non-recoverable error occurred during a database lookup.
from go-sqlcmd.
Related Issues (20)
- sqlcmd panics when using MSI on App Service HOT 1
- Need a way to pass the HostNameInCertificate parameter for strict encryption connections HOT 2
- Linux sqlcmd cannot restore an OLDER backup file created in SQL 2022 (16.0.4095.4) to a new server instance sql 2022 (16.0.4105.2) HOT 2
- SqlCmd 1.5.0 Access Denied in Elevation mode against WID - Work fine with old SqlCmd 15 (SQL2019) HOT 4
- The image has the following vulnerability: CVE-2024-24557 BaseSeverity: high; BaseScore: 7.8. HOT 1
- What jdbc connection string property corresponds with the `-G` flag? HOT 1
- Release v1.6.0 missing msi HOT 1
- Double exclamation within text expression with some parenthesis deal as sqlcmd instruction
- Service Principal that is Azure AD admin cannot connect to database HOT 2
- EXIT command not parsed in powershell using -Q
- Scripting variables are not expanded in :out and :r commands HOT 2
- RHEL 8 repo misses v1.6.0 HOT 1
- No package available in RHEL 9 repo HOT 3
- Crash when use q and Q HOT 1
- BCP supports with ODBC Driver 18
- Ubuntu 22.04 repo: v1.6.0 not available
- wixproj needs to consume wix from nuget HOT 1
- Ubuntu 24.04 repo: sqlcmd not available
- Pull in latest go-mssqldb for fix to az-cli resource name
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-sqlcmd.