UnMango.Docker.DotNet.FSharp 0.0.3-alpha.0.12

This is a prerelease version of UnMango.Docker.DotNet.FSharp.
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.3-alpha.0.12                
NuGet\Install-Package UnMango.Docker.DotNet.FSharp -Version 0.0.3-alpha.0.12                
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.3-alpha.0.12" />                
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.3-alpha.0.12                
#r "nuget: UnMango.Docker.DotNet.FSharp, 0.0.3-alpha.0.12"                
#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.3-alpha.0.12&prerelease

// Install UnMango.Docker.DotNet.FSharp as a Cake Tool
#tool nuget:?package=UnMango.Docker.DotNet.FSharp&version=0.0.3-alpha.0.12&prerelease                

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.22 34 9/17/2024
0.0.3-alpha.0.21 37 9/14/2024
0.0.3-alpha.0.20 36 9/13/2024
0.0.3-alpha.0.19 36 9/10/2024
0.0.3-alpha.0.18 34 9/6/2024
0.0.3-alpha.0.17 39 9/5/2024
0.0.3-alpha.0.16 64 8/22/2024
0.0.3-alpha.0.15 54 8/16/2024
0.0.3-alpha.0.14 53 8/9/2024
0.0.3-alpha.0.13 44 7/12/2024
0.0.3-alpha.0.12 40 7/10/2024
0.0.3-alpha.0.11 45 6/10/2024
0.0.3-alpha.0.10 50 6/6/2024
0.0.3-alpha.0.9 53 6/1/2024
0.0.3-alpha.0.8 51 6/1/2024
0.0.3-alpha.0.7 42 6/1/2024
0.0.3-alpha.0.6 50 5/31/2024
0.0.3-alpha.0.5 47 5/30/2024
0.0.3-alpha.0.4 54 5/23/2024
0.0.3-alpha.0.1 58 5/8/2024
0.0.2 69 5/8/2024
0.0.2-alpha.5 47 5/8/2024
0.0.2-alpha.4 52 5/8/2024
0.0.2-alpha.3 57 5/7/2024
0.0.2-alpha.2 59 5/6/2024
0.0.2-alpha.1 55 5/6/2024
0.0.2-alpha.0.2 51 5/5/2024
0.0.2-alpha.0.1 53 5/5/2024
0.0.2-alpha 58 5/5/2024
0.0.1 56 5/5/2024
0.0.1-alpha.7 51 5/5/2024
0.0.1-alpha.6 56 5/5/2024
0.0.1-alpha.5 51 5/5/2024
0.0.1-alpha.4 60 5/4/2024
0.0.1-alpha.3 55 5/4/2024
0.0.1-alpha.2 59 5/4/2024
0.0.1-alpha.1 46 5/4/2024