UnMango.Docker.FSharp
0.0.4-alpha.0.13
See the version list below for details.
dotnet add package UnMango.Docker.FSharp --version 0.0.4-alpha.0.13
NuGet\Install-Package UnMango.Docker.FSharp -Version 0.0.4-alpha.0.13
<PackageReference Include="UnMango.Docker.FSharp" Version="0.0.4-alpha.0.13" />
paket add UnMango.Docker.FSharp --version 0.0.4-alpha.0.13
#r "nuget: UnMango.Docker.FSharp, 0.0.4-alpha.0.13"
// Install UnMango.Docker.FSharp as a Cake Addin #addin nuget:?package=UnMango.Docker.FSharp&version=0.0.4-alpha.0.13&prerelease // Install UnMango.Docker.FSharp as a Cake Tool #tool nuget:?package=UnMango.Docker.FSharp&version=0.0.4-alpha.0.13&prerelease
Docker.FSharp
This library defines a computation expression that can be used to describe Docker operations.
Not to be confused with Docker.DotNet.FSharp!
Install
- NuGet:
dotnet add package UnMango.Docker.FSharp
- GitHub Packages:
dotnet add package UnMango.Docker.FSharp -s github
Usage
The majority of the library is still a work in progress.
Currently, a very basic series of image and container operations can be defined using the docker
builder.
let dockerActions = docker {
Image.create {
fromImage "ubuntu"
tag "latest"
}
Container.create "my-container" {
entrypoint "bash"
}
}
It's worth noting that no interaction with the docker API is actually performed. The intent is to provide the ability to describe operations that a client can consume to perform operations.
The sister library, Docker.DotNet.FSharp, is one such consumer that provides Docker.run
to execute operations using Docker.DotNet
.
Development
At a minimum, the .NET SDK is required. At the time of writing this project is built with .NET 9.0 which you can find here. The specific version is defined in global.json.
It might be a good idea to install make but it is not required.
If you do however, you can just clone the repo and run make
.
This will:
- Restore dependencies
- Restore tools (like fantomas)
- Build the solution
- Run the linter
- Run tests
There are a number of make targets for common tasks such as build
, test
, lint
, format
and pack
.
You can also use the dotnet
CLI like normal.
dotnet build
dotnet test
A solution file is provided for IDE's that support it, such as Rider, Visual Studio, and Ionide.
If you prefer a devcontainer, there is a barebones definition in .devcontainer/devcontainer.json
.
It's not fully configured yet, so you may need to install some tools manually.
You can run make devcontainer
to build the container with the devcontainers-cli.
This command requires Node.js and npx
(shipped with node).
Q/A
Why make?
It makes me feel smarter than I actually am.
Why use the preview SDK?
I like living on the edge.
The name seems like it was chosen deliberately to be confusing.
That's not a question, get off my back man.
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. |
.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
- FSharp.Core (>= 8.0.400-beta.24229.4)
-
net8.0
- FSharp.Core (>= 8.0.400-beta.24229.4)
-
net9.0
- FSharp.Core (>= 8.0.400-beta.24229.4)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on UnMango.Docker.FSharp:
Package | Downloads |
---|---|
UnMango.Docker.DotNet.FSharp
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.0.4-alpha.0.22 | 55 | 9/30/2024 |
0.0.4-alpha.0.21 | 51 | 9/24/2024 |
0.0.4-alpha.0.20 | 42 | 9/17/2024 |
0.0.4-alpha.0.19 | 48 | 9/14/2024 |
0.0.4-alpha.0.18 | 47 | 9/13/2024 |
0.0.4-alpha.0.17 | 52 | 9/10/2024 |
0.0.4-alpha.0.16 | 47 | 9/6/2024 |
0.0.4-alpha.0.15 | 51 | 9/6/2024 |
0.0.4-alpha.0.14 | 74 | 8/23/2024 |
0.0.4-alpha.0.13 | 63 | 8/16/2024 |
0.0.4-alpha.0.12 | 60 | 8/8/2024 |
0.0.4-alpha.0.11 | 51 | 7/12/2024 |
0.0.4-alpha.0.10 | 47 | 7/10/2024 |
0.0.4-alpha.0.9 | 54 | 6/10/2024 |
0.0.4-alpha.0.8 | 57 | 6/6/2024 |
0.0.4-alpha.0.7 | 51 | 6/1/2024 |
0.0.4-alpha.0.6 | 61 | 6/1/2024 |
0.0.4-alpha.0.5 | 49 | 6/1/2024 |
0.0.4-alpha.0.4 | 57 | 5/31/2024 |
0.0.4-alpha.0.3 | 49 | 5/30/2024 |
0.0.4-alpha.0.2 | 65 | 5/23/2024 |
0.0.4-alpha.0.1 | 62 | 5/23/2024 |
0.0.3 | 170 | 5/8/2024 |
0.0.3-alpha.0.1 | 51 | 5/8/2024 |
0.0.2 | 60 | 5/8/2024 |
0.0.2-alpha.0.4 | 60 | 5/8/2024 |
0.0.2-alpha.0.3 | 60 | 5/8/2024 |
0.0.2-alpha.0.2 | 58 | 5/8/2024 |
0.0.2-alpha.0.1 | 64 | 5/7/2024 |
0.0.1 | 73 | 5/7/2024 |
0.0.1-alpha.9 | 66 | 5/7/2024 |
0.0.1-alpha.8 | 66 | 5/7/2024 |
0.0.1-alpha.7 | 70 | 5/7/2024 |
0.0.1-alpha.6 | 63 | 5/7/2024 |
0.0.1-alpha.5 | 57 | 5/6/2024 |
0.0.1-alpha.4 | 81 | 5/6/2024 |
0.0.1-alpha.3 | 74 | 5/6/2024 |