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

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.4                
NuGet\Install-Package UnMango.Docker.DotNet.FSharp -Version 0.0.3-alpha.0.4                
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.4" />                
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.4                
#r "nuget: UnMango.Docker.DotNet.FSharp, 0.0.3-alpha.0.4"                
#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.4&prerelease

// Install UnMango.Docker.DotNet.FSharp as a Cake Tool
#tool nuget:?package=UnMango.Docker.DotNet.FSharp&version=0.0.3-alpha.0.4&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.24 47 9/30/2024
0.0.3-alpha.0.23 54 9/24/2024
0.0.3-alpha.0.22 52 9/17/2024
0.0.3-alpha.0.21 53 9/14/2024
0.0.3-alpha.0.20 50 9/13/2024
0.0.3-alpha.0.19 53 9/10/2024
0.0.3-alpha.0.18 49 9/6/2024
0.0.3-alpha.0.17 54 9/5/2024
0.0.3-alpha.0.16 73 8/22/2024
0.0.3-alpha.0.15 65 8/16/2024
0.0.3-alpha.0.14 61 8/9/2024
0.0.3-alpha.0.13 54 7/12/2024
0.0.3-alpha.0.12 53 7/10/2024
0.0.3-alpha.0.11 56 6/10/2024
0.0.3-alpha.0.10 63 6/6/2024
0.0.3-alpha.0.9 64 6/1/2024
0.0.3-alpha.0.8 64 6/1/2024
0.0.3-alpha.0.7 53 6/1/2024
0.0.3-alpha.0.6 61 5/31/2024
0.0.3-alpha.0.5 59 5/30/2024
0.0.3-alpha.0.4 67 5/23/2024
0.0.3-alpha.0.1 69 5/8/2024
0.0.2 79 5/8/2024
0.0.2-alpha.5 56 5/8/2024
0.0.2-alpha.4 61 5/8/2024
0.0.2-alpha.3 66 5/7/2024
0.0.2-alpha.2 68 5/6/2024
0.0.2-alpha.1 67 5/6/2024
0.0.2-alpha.0.2 64 5/5/2024
0.0.2-alpha.0.1 64 5/5/2024
0.0.2-alpha 67 5/5/2024
0.0.1 67 5/5/2024
0.0.1-alpha.7 62 5/5/2024
0.0.1-alpha.6 66 5/5/2024
0.0.1-alpha.5 62 5/5/2024
0.0.1-alpha.4 71 5/4/2024
0.0.1-alpha.3 66 5/4/2024
0.0.1-alpha.2 69 5/4/2024
0.0.1-alpha.1 56 5/4/2024