Skip to content

Can't use Docker.DotNet.X509 with Docker.DotNet 3.125.4 #463

@msvprogs

Description

@msvprogs

What version of Docker.DotNet?:

3.125.4

Steps to reproduce the issue:

  1. Install Docker.DotNet 3.125.4 and last version of Docker.DotNet.X509 (3.125.2) in the same project
  2. Create docker client with certificate credentials
var credentials = new CertificateCredentials(clientCertificate);
var configuration = new DockerClientConfiguration(uri, credentials, m_Options.Timeout.GetValueOrDefault());

return configuration.CreateClient();
  1. This code with fail with exception
System.IO.FileNotFoundException: Could not load file or assembly 'Docker.DotNet, Version=3.125.2.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

File name: 'Docker.DotNet, Version=3.125.2.0, Culture=neutral, PublicKeyToken=null'

Additional information:
Probably you should bump up the version of Docker.DotNet.X509 package and update its dependency on Docker.DotNet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions