UnMango.Docker.FSharp
0.0.4-alpha.0.7
See the version list below for details.
dotnet add package UnMango.Docker.FSharp --version 0.0.4-alpha.0.7
NuGet\Install-Package UnMango.Docker.FSharp -Version 0.0.4-alpha.0.7
<PackageReference Include="UnMango.Docker.FSharp" Version="0.0.4-alpha.0.7" />
paket add UnMango.Docker.FSharp --version 0.0.4-alpha.0.7
#r "nuget: UnMango.Docker.FSharp, 0.0.4-alpha.0.7"
// Install UnMango.Docker.FSharp as a Cake Addin #addin nuget:?package=UnMango.Docker.FSharp&version=0.0.4-alpha.0.7&prerelease // Install UnMango.Docker.FSharp as a Cake Tool #tool nuget:?package=UnMango.Docker.FSharp&version=0.0.4-alpha.0.7&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 | 47 | 9/30/2024 |
0.0.4-alpha.0.21 | 47 | 9/24/2024 |
0.0.4-alpha.0.20 | 34 | 9/17/2024 |
0.0.4-alpha.0.19 | 44 | 9/14/2024 |
0.0.4-alpha.0.18 | 43 | 9/13/2024 |
0.0.4-alpha.0.17 | 45 | 9/10/2024 |
0.0.4-alpha.0.16 | 43 | 9/6/2024 |
0.0.4-alpha.0.15 | 48 | 9/6/2024 |
0.0.4-alpha.0.14 | 70 | 8/23/2024 |
0.0.4-alpha.0.13 | 60 | 8/16/2024 |
0.0.4-alpha.0.12 | 57 | 8/8/2024 |
0.0.4-alpha.0.11 | 48 | 7/12/2024 |
0.0.4-alpha.0.10 | 44 | 7/10/2024 |
0.0.4-alpha.0.9 | 51 | 6/10/2024 |
0.0.4-alpha.0.8 | 54 | 6/6/2024 |
0.0.4-alpha.0.7 | 48 | 6/1/2024 |
0.0.4-alpha.0.6 | 58 | 6/1/2024 |
0.0.4-alpha.0.5 | 46 | 6/1/2024 |
0.0.4-alpha.0.4 | 54 | 5/31/2024 |
0.0.4-alpha.0.3 | 46 | 5/30/2024 |
0.0.4-alpha.0.2 | 62 | 5/23/2024 |
0.0.4-alpha.0.1 | 59 | 5/23/2024 |
0.0.3 | 164 | 5/8/2024 |
0.0.3-alpha.0.1 | 48 | 5/8/2024 |
0.0.2 | 57 | 5/8/2024 |
0.0.2-alpha.0.4 | 57 | 5/8/2024 |
0.0.2-alpha.0.3 | 57 | 5/8/2024 |
0.0.2-alpha.0.2 | 55 | 5/8/2024 |
0.0.2-alpha.0.1 | 61 | 5/7/2024 |
0.0.1 | 70 | 5/7/2024 |
0.0.1-alpha.9 | 62 | 5/7/2024 |
0.0.1-alpha.8 | 62 | 5/7/2024 |
0.0.1-alpha.7 | 67 | 5/7/2024 |
0.0.1-alpha.6 | 60 | 5/7/2024 |
0.0.1-alpha.5 | 54 | 5/6/2024 |
0.0.1-alpha.4 | 76 | 5/6/2024 |
0.0.1-alpha.3 | 71 | 5/6/2024 |