Contents tagged with SSH

  • How to manage docker from C# with SSH

    Hello everybody,

    today I want to write a few words about how to work with Docker with help of C#.

    Recently I've got a challenge to find the way how to manage Docker. Initially I've tried Docker.Dotnet library. It has quite interesting options for management of docker, but from my own prospective it's not very convenient for management.  After some trial/error efforts I've decided to try another option. I tried using SSH connection in order to manage linux instance with Docker. In order to have access to CentOs I've used SSH.Net.

    In order to have option for mocking of SSH I've created following interface:

    public interface ISshManager

    {

    string IpHost { get; set; } … more