Sudo support
This is a experimental release to allow for sudo support on Linux and Mac.
For Linux and Mac users there are several options how to authenticate towards the socket. FluentDocker supports no sudo, sudo without any password (user added as NOPASSWD in /etc/sudoer), or
sudo with password. The default is that FluentDocker expects to be able to talk without any sudo. The options ar global but can be changed in runtime.
SudoMechanism.None.SetSudo(); // This is the default
SudoMechanism.Password.SetSudo("<my-sudo-password>");
SudoMechanism.NoPassword.SetSudo();
This is still experimental and will probably change to e.g SecureString
or other in the future.