Open stefanloerwald opened 4 years ago
I also fail to do authentication when the target is Azure container registry. I am using basic auth via username/password. The exception is Docker.DotNet.DockerApiException: 'Docker API responded with status code=NotFound, response=Not found'
I am using 3.125.15
, the latest version in the moment.
Output of
dotnet --info
:What version of Docker.DotNet?:
Steps to reproduce the issue:
var docker_client = new DockerClientConfiguration(new Uri("host.docker.internal")).CreateClient();
await DockerClient.System.AuthenticateAsync(new AuthConfig { ServerAddress = "host.docker.internal:2000", Username = "user", Password = "password" });
What actually happened?:
This is puzzling me quite a bit: a normal
docker login
with same parameters works absolutely fine in CLI, but not with this library. I tried this both with net5.0 and netcoreapp3.1, but sadly no luck either way.What did you expect to happen?:
A successful login.
Additional information:
This worked a few months ago and I have no clue what change broke it. It would be helpful if someone could replicate this. Thanks!