Skip to content

Commit

Permalink
Updated to version 2.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario Toffia committed Oct 3, 2018
1 parent 4c20cf1 commit 11f1d2e
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 12 deletions.
7 changes: 3 additions & 4 deletions Ductus.FluentDocker.MsTest/Ductus.FluentDocker.MsTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

<PropertyGroup>
<TargetFrameworks>netcoreapp1.1;netcoreapp2.0;net452</TargetFrameworks>
<VersionPrefix>2.6.
</VersionPrefix>
<VersionPrefix>2.6.1</VersionPrefix>
<AssemblyTitle>Ductus.FluentDocker.MsTest</AssemblyTitle>
<Authors>Mario Toffia</Authors>
<PackageLicenseUrl>https://github.com/mariotoffia/FluentDocker/blob/master/LICENSE</PackageLicenseUrl>
Expand All @@ -14,13 +13,13 @@
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/mariotoffia/FluentDocker</RepositoryUrl>
<Description>
Ms Test Support to allow for create, run one or more docker images while testing using docker, compose, machine (Linux, Windows, Mac).
Ms Test Support to allow for create, run one or more docker images while testing using docker, compose, machine (Linux, Windows, Mac) using netcore or full framework.
Documentation: https://github.com/mariotoffia/FluentDocker
</Description>
<Copyright>© 2016, 2017, 2018 Mario Toffia</Copyright>
<DefineConstants Condition=" '$(TargetFramework)' == 'netcoreapp1.1' ">$(DefineConstants);COREFX</DefineConstants>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Version>2.6.0</Version>
<Version>2.6.1</Version>
<AssemblyOriginatorKeyFile>..\keypair.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
Expand Down
10 changes: 5 additions & 5 deletions Ductus.FluentDocker/Ductus.FluentDocker.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard1.6;netstandard2.0;net452</TargetFrameworks>
<VersionPrefix>2.6.0</VersionPrefix>
<VersionPrefix>2.6.1</VersionPrefix>
<AssemblyTitle>Ductus.FluentDocker</AssemblyTitle>
<Authors>Mario Toffia</Authors>
<PackageLicenseUrl>https://github.com/mariotoffia/FluentDocker/blob/master/LICENSE</PackageLicenseUrl>
Expand All @@ -11,14 +11,14 @@
<PackageTags>Docker;Docker-Compose;Docker Compose;Docker-Machine;Docker Machine;Linux;Windows;Mac;Fluent;NET Core</PackageTags>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/mariotoffia/FluentDocker</RepositoryUrl>
<Description>Library to manage docker-machine, docker-compose, and docker containers for windows / mac or native linux.</Description>
<Description>Library to manage docker-machine, docker-compose, and docker containers for windows / mac or native linux using netcore or full framework.</Description>
<Copyright>© 2016, 2017, 2018 Mario Toffia</Copyright>
<DefineConstants Condition=" '$(TargetFramework)' == 'netstandard1.6' ">$(DefineConstants);COREFX</DefineConstants>
<DefineConstants Condition=" '$(TargetFramework)' == 'netstandard2.0' ">$(DefineConstants);COREFX</DefineConstants>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<AssemblyVersion>2.6.0.0</AssemblyVersion>
<FileVersion>2.6.0.0</FileVersion>
<Version>2.6.0</Version>
<AssemblyVersion>2.6.1.0</AssemblyVersion>
<FileVersion>2.6.1.0</FileVersion>
<Version>2.6.1</Version>
<AssemblyOriginatorKeyFile>..\keypair.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
Expand Down
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,18 @@ The above file is the _docker-compose_ file to stitch up the complete service.
The above snippet is fluently configuring the _docker-compose_ service and invokes the install page to verify that
WordPress is indeed working.

## Connecting to Remote Docker Daemons
## Talking to Docker Daemon
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.

```cs
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.

### Connecting to Remote Docker Daemons
FluentDocker supports connection to remote docker daemons. The fluent API supports e.g.
```cs
new Builder().UseHost().UseMachine().WithName("remote-daemon")
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#version: 0.0.0.{build}
version: 2.6.0
version: 2.6.1
skip_non_tags: true
image: Visual Studio 2017
configuration: Release
Expand Down
13 changes: 12 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,18 @@ The above file is the _docker-compose_ file to stitch up the complete service.
The above snippet is fluently configuring the _docker-compose_ service and invokes the install page to verify that
WordPress is indeed working.

## Connecting to Remote Docker Daemons
## Talking to Docker Daemon
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.

```cs
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.

### Connecting to Remote Docker Daemons
FluentDocker supports connection to remote docker daemons. The fluent API supports e.g.
```cs
new Builder().UseHost().UseMachine().WithName("remote-daemon")
Expand Down

0 comments on commit 11f1d2e

Please sign in to comment.