wip
- Layer: Files generated from running some command, also called intermediate images. Reused by multiple images to reduce image and size.
- Image: A docker container image is created using a dockerfile (ie. build). Every line in a dockerfile will create a layer.
- Container: an instance of an (read-only) image.
- Docker Client: the CLI tool that allows the user to interact with the Docker Server.
- Docker Server: aka Docker Daemon, the background service running on the host that manages the building, running and distributing Docker containers.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open System.Threading.Tasks | |
open FSharp.Control.Tasks.V2.ContextInsensitive | |
let aTask = task { | |
do! Task.Delay(1000) | |
printfn "I'm in aTask" | |
} | |
let anAsync = async { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Threading; | |
using System.Collections.Concurrent; | |
using System.Runtime.CompilerServices; | |
namespace CSharpStuff | |
{ | |
// Alternative to referencing Microsoft.VisualStudio.Threading | |
public class SingleThreadedSynchronizationContext : SynchronizationContext |