UnMango.Docker.DotNet.FSharp
0.0.3-alpha.0.13
See the version list below for details.
dotnet add package UnMango.Docker.DotNet.FSharp --version 0.0.3-alpha.0.13
NuGet\Install-Package UnMango.Docker.DotNet.FSharp -Version 0.0.3-alpha.0.13
<PackageReference Include="UnMango.Docker.DotNet.FSharp" Version="0.0.3-alpha.0.13" />
<PackageVersion Include="UnMango.Docker.DotNet.FSharp" Version="0.0.3-alpha.0.13" />
<PackageReference Include="UnMango.Docker.DotNet.FSharp" />
paket add UnMango.Docker.DotNet.FSharp --version 0.0.3-alpha.0.13
#r "nuget: UnMango.Docker.DotNet.FSharp, 0.0.3-alpha.0.13"
#:package UnMango.Docker.DotNet.FSharp@0.0.3-alpha.0.13
#addin nuget:?package=UnMango.Docker.DotNet.FSharp&version=0.0.3-alpha.0.13&prerelease
#tool nuget:?package=UnMango.Docker.DotNet.FSharp&version=0.0.3-alpha.0.13&prerelease
Docker.DotNet.FSharp
Idiomatic F# support for Docker.DotNet.
Install
- NuGet:
dotnet add package UnMango.Docker.DotNet.FSharp - GitHub Packages:
dotnet add package UnMango.Docker.DotNet.FSharp -s github
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 | Versions 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. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .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. |
-
.NETStandard 2.0
- Docker.DotNet (>= 3.125.15)
- FSharp.Core (>= 8.0.400-beta.24229.4)
- UnMango.Docker.FSharp (>= 0.0.3)
-
net8.0
- Docker.DotNet (>= 3.125.15)
- FSharp.Core (>= 8.0.400-beta.24229.4)
- UnMango.Docker.FSharp (>= 0.0.3)
-
net9.0
- Docker.DotNet (>= 3.125.15)
- FSharp.Core (>= 8.0.400-beta.24229.4)
- UnMango.Docker.FSharp (>= 0.0.3)
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.27 | 131 | 2/11/2025 |
| 0.0.3-alpha.0.26 | 108 | 2/11/2025 |
| 0.0.3-alpha.0.25 | 111 | 2/11/2025 |
| 0.0.3-alpha.0.24 | 102 | 9/30/2024 |
| 0.0.3-alpha.0.23 | 107 | 9/24/2024 |
| 0.0.3-alpha.0.22 | 104 | 9/17/2024 |
| 0.0.3-alpha.0.21 | 106 | 9/14/2024 |
| 0.0.3-alpha.0.20 | 106 | 9/13/2024 |
| 0.0.3-alpha.0.19 | 111 | 9/10/2024 |
| 0.0.3-alpha.0.18 | 97 | 9/6/2024 |
| 0.0.3-alpha.0.17 | 102 | 9/5/2024 |
| 0.0.3-alpha.0.16 | 134 | 8/22/2024 |
| 0.0.3-alpha.0.15 | 122 | 8/16/2024 |
| 0.0.3-alpha.0.14 | 109 | 8/9/2024 |
| 0.0.3-alpha.0.13 | 109 | 7/12/2024 |
| 0.0.3-alpha.0.12 | 107 | 7/10/2024 |
| 0.0.3-alpha.0.11 | 109 | 6/10/2024 |
| 0.0.3-alpha.0.10 | 113 | 6/6/2024 |
| 0.0.3-alpha.0.9 | 115 | 6/1/2024 |
| 0.0.2 | 148 | 5/8/2024 |