UnMango.Docker.DotNet.FSharp 0.0.2

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package UnMango.Docker.DotNet.FSharp --version 0.0.2                
NuGet\Install-Package UnMango.Docker.DotNet.FSharp -Version 0.0.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="UnMango.Docker.DotNet.FSharp" Version="0.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add UnMango.Docker.DotNet.FSharp --version 0.0.2                
#r "nuget: UnMango.Docker.DotNet.FSharp, 0.0.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install UnMango.Docker.DotNet.FSharp as a Cake Addin
#addin nuget:?package=UnMango.Docker.DotNet.FSharp&version=0.0.2

// Install UnMango.Docker.DotNet.FSharp as a Cake Tool
#tool nuget:?package=UnMango.Docker.DotNet.FSharp&version=0.0.2                

Docker.DotNet.FSharp

Build Codecov GitHub Release NuGet Version NuGet Downloads

Idiomatic F# support for Docker.DotNet.

Install

Usage

This project is still a work in progress and nothing is guaranteed to work!

At the moment, the library supports thin bindings for IImageOperations and IContainerOperations.

let docker: IDockerClient // Create a client
let auth: AuthConfig // Auth stuff if required
let progress: IProgress<JSONMessage> // Callbacks
let config = ImageCreateParameters(Image = "ubuntu")

do! docker.Images |> Image.create config auth progress
let docker: IDockerClient // Create a client
let config = ContainerCreateParameters(Image = "ubuntu:latest")

let! container = docker.Containers |> Container.create config

You can define a very minimal computation expression to create an image.

let docker: IDockerClient // Create a client

image { create { fromImage "ubuntu" } }
|> Image.runAll docker.Images

Q/A

Idiomatic? This looks nothing like the F# I write!

If something looks off please open an issue! I've only recently been diving further into the F# ecosystem.

Deprecated Operations

When I started this project there were a few deprecated operations and I chose not to implement them. Future deprecations will be tagged and removed along with upstream.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.0.3-alpha.0.24 49 9/30/2024
0.0.3-alpha.0.23 55 9/24/2024
0.0.3-alpha.0.22 53 9/17/2024
0.0.3-alpha.0.21 56 9/14/2024
0.0.3-alpha.0.20 51 9/13/2024
0.0.3-alpha.0.19 54 9/10/2024
0.0.3-alpha.0.18 53 9/6/2024
0.0.3-alpha.0.17 56 9/5/2024
0.0.3-alpha.0.16 79 8/22/2024
0.0.3-alpha.0.15 67 8/16/2024
0.0.3-alpha.0.14 65 8/9/2024
0.0.3-alpha.0.13 56 7/12/2024
0.0.3-alpha.0.12 56 7/10/2024
0.0.3-alpha.0.11 57 6/10/2024
0.0.3-alpha.0.10 64 6/6/2024
0.0.3-alpha.0.9 65 6/1/2024
0.0.3-alpha.0.8 65 6/1/2024
0.0.3-alpha.0.7 56 6/1/2024
0.0.3-alpha.0.6 64 5/31/2024
0.0.3-alpha.0.5 60 5/30/2024
0.0.3-alpha.0.4 68 5/23/2024
0.0.3-alpha.0.1 70 5/8/2024
0.0.2 85 5/8/2024
0.0.2-alpha.5 57 5/8/2024
0.0.2-alpha.4 64 5/8/2024
0.0.2-alpha.3 67 5/7/2024
0.0.2-alpha.2 69 5/6/2024
0.0.2-alpha.1 68 5/6/2024
0.0.2-alpha.0.2 65 5/5/2024
0.0.2-alpha.0.1 65 5/5/2024
0.0.2-alpha 70 5/5/2024
0.0.1 72 5/5/2024
0.0.1-alpha.7 65 5/5/2024
0.0.1-alpha.6 67 5/5/2024
0.0.1-alpha.5 63 5/5/2024
0.0.1-alpha.4 72 5/4/2024
0.0.1-alpha.3 67 5/4/2024
0.0.1-alpha.2 70 5/4/2024
0.0.1-alpha.1 59 5/4/2024