All Projects → MihaMarkic → Cake.Docker

MihaMarkic / Cake.Docker

Licence: MIT License
Cake AddIn that extends Cake with Docker

Programming Languages

C#
18002 projects

Labels

Projects that are alternatives of or similar to Cake.Docker

przepisy-programisty
Sernik i inne przepisy programisty: precyzyjne, powtarzalne i przepyszne!
Stars: ✭ 117 (+160%)
Mutual labels:  cake
MyJournal.Notebook
My Journal Add-In for Microsoft OneNote
Stars: ✭ 41 (-8.89%)
Mutual labels:  addin
awesome-monodevelop
A curated list of awesome Visual Studio for macOS and MonoDevelop addins, tools and resources.
Stars: ✭ 24 (-46.67%)
Mutual labels:  addin
colorscale
Create a color scale from a single color
Stars: ✭ 80 (+77.78%)
Mutual labels:  addin
Version3
Version 3 of Chem4Word - A Chemistry Add-In for Microsoft Word
Stars: ✭ 53 (+17.78%)
Mutual labels:  addin
local-government-desktop-addins
A series of ArcGIS Desktop Add-ins used in the ArcGIS for Local Government editing maps.
Stars: ✭ 58 (+28.89%)
Mutual labels:  addin
D365FONinjaDevTools
To make of you a Ninja Developer in Dynamics 365 For Finance and Operations
Stars: ✭ 70 (+55.56%)
Mutual labels:  addin
sqlquery
Htmlwidget to write SQL queries
Stars: ✭ 31 (-31.11%)
Mutual labels:  addin
Excel-Favorites
⭐ This VSTO Add-In creates a custom "Favorites" ribbon. Key distinctive attributes include dedicated buttons for changing the visibility/sort order of sheets, copying visible cells, Excel's camera feature, Snipping Tool, Problem Steps Recorder (PSR) and Windows Calculator. It is written in 3 different versions as a VSTO Add-In in C# and VB.NET a…
Stars: ✭ 37 (-17.78%)
Mutual labels:  addin
gwt-material-addins
Custom Components for gwt-material.
Stars: ✭ 35 (-22.22%)
Mutual labels:  addin
Outlook-Add-in-SSO
[MOVED] The sample implements an Outlook add-in that uses Office's SSO system to get access to Microsoft Graph APIs and adds buttons to the Outlook ribbon.
Stars: ✭ 48 (+6.67%)
Mutual labels:  addin
cake
Cake is a powerful and flexible Make-like utility tool. Make Tasks Great Again!
Stars: ✭ 64 (+42.22%)
Mutual labels:  cake
Cake.Xamarin
🍰 🧩 📱 Cake addin for building Xamarin apps
Stars: ✭ 22 (-51.11%)
Mutual labels:  cake
prefixer
Prefix function with their namespace & other development tools
Stars: ✭ 131 (+191.11%)
Mutual labels:  addin
Script-Help
📝 This VSTO Add-In is used for cleaning & creating a script for batch loading records into SQL Server, Oracle, Documentum, Markup or Markdown Languages. The functionality within the ribbon allows a quick way of preparing a bulk data load. Otherwise, the requests can be both time-consuming and error prone. It is written in 3 different versions a…
Stars: ✭ 65 (+44.44%)
Mutual labels:  addin
Excel-Timesheet
⏰ This Add-In is used to produce a timesheet file with functionality to import your Google Timeline. The standard timesheet has options for start and end dates, day of week and default start, end and break times. The Google timeline options are start and end dates, UTC selection, daylight savings time parameters and title filter for timeline ent…
Stars: ✭ 25 (-44.44%)
Mutual labels:  addin
Cake.Squirrel
Cake Addin to support Squirrel.Windows
Stars: ✭ 12 (-73.33%)
Mutual labels:  cake
ssms-addin
SQL Server Management Studio 2018 Productivity Tool
Stars: ✭ 15 (-66.67%)
Mutual labels:  addin
Cake.Electron.Net
A Cake AddIn that extends Cake with Electron.NET command tools.
Stars: ✭ 17 (-62.22%)
Mutual labels:  cake
Cake.Incubator
This project contains various experimental but useful extension methods and aliases for Cake
Stars: ✭ 17 (-62.22%)
Mutual labels:  cake

Cake.Docker

A Cake AddIn that extends Cake with Docker command tools.

cakebuild.net NuGet

Including addin

Including addin in cake script is easy.

#addin "Cake.Docker"

Commands supported

Cake references

  • 1.1.0: Cake 2.0.0
  • 1.0.0: Cake 1.0.0

  • 0.10.0: Cake 0.33

  • 0.9.4: Cake 0.28

  • 0.9 references Cake 0.26 (and goes .NET Standard 2.0 only)

Important: In version 1.1.0 the .netstandard 2.0 version is dropped and instead .netcore 3.1, .net5 and .net6 versions are distributed.

Important: Since version 0.10.0 path argument to DockerBuild is now quoted if not quoted already.

Important: Docker 17.* is supported since v0.8 and background compatibility is dropped (most notably, array arguments are converter to strings). If you wish to match older docker versions, user an older Cake.Docker version.

Important: Since version 0.8.0 the settings are generated from the latest Docker source code on github.

BREAKING Starting with 0.8.0 command's setting types that haven't been composed of all words have changed to full name. i.e. DockerBuildSettings to DockerImageBuildSettings).

Usage

To use the addin just add it to Cake call the aliases and configure any settings you want.

#addin "Cake.Docker"

...

// How to remove a container with no settings
Task("DockerRm")
	.Does(() => {
		// or more containers at once
		DockerRm("containerName1", "containerName2", ...);
	)};
	
// How to remove a container with settings
Task("DockerRmWithSettings")
	.Does(() => {
		// or more containers at once
		DockerRm(new DockerRmSettings { Force = true }, "containerName1", "containerName2", ...);
	)};

Other commands follow same convention.

All come with settings argument and support all settings except for DockerBuild which supports only major settings.

General Notes

This is an initial version and not tested thoroughly.

Contributions welcome - but ask first (create an issue).

Tested only on Windows and Ubuntu. Ensure that Docker command line tool can be located using the PATH (e.g. check that it can be found with which docker). On Linux machines, ensure that user has access to the docker daemon Unix socket or use the DOCKER_HOST environment variable to point to the daemon's TCP port. Refer to the Docker documentation for controlling access to the docker daemon Unix socket.

Follow @mihamarkic

Discussion

For questions and to discuss ideas & feature requests, use the GitHub discussions on the Cake GitHub repository, under the Extension Q&A category.

Join in the discussion on the Cake repository

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].