See this issue.
Docker best practise to Control and configure Docker with systemd.
-
Create
daemon.json
file in/etc/docker
:{"hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"]}
#cloud-config | |
autoinstall: | |
version: 1 | |
refresh-installer: # start with an up-to-date installer | |
update: yes | |
interactive-sections: # Install groups listed here will wait for user input | |
- storage | |
storage: # should set the interactive default but doesn't seem to work?? | |
layout: | |
name: direct |
#-------------------------------------------------------------# | |
#----Initial Declarations-------------------------------------# | |
#-------------------------------------------------------------# | |
Add-Type -AssemblyName PresentationCore, PresentationFramework | |
$Xaml = @" | |
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" Width="800" Height="300" Name="khsdijy0ho5al"> | |
<Grid> | |
<Grid.RowDefinitions> |
#-------------------------------------------------------------# | |
#----Initial Declarations-------------------------------------# | |
#-------------------------------------------------------------# | |
Add-Type -AssemblyName PresentationCore, PresentationFramework | |
$Xaml = @" | |
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" Width="800" Height="400"> | |
<Grid> | |
<Grid.RowDefinitions> |
# For recent versions of Ubuntu: | |
- https://www.pugetsystems.com/labs/hpc/ubuntu-22-04-server-autoinstall-iso/ | |
# Docs: | |
- https://wiki.ubuntu.com/FoundationsTeam/AutomatedServerInstalls | |
- https://wiki.ubuntu.com/FoundationsTeam/AutomatedServerInstalls/ConfigReference | |
- https://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html | |
- https://discourse.ubuntu.com/t/please-test-autoinstalls-for-20-04/15250/53 | |
# Download ISO Installer: |
<?php | |
use Illuminate\Database\Migrations\Migration; | |
use Illuminate\Database\Schema\Blueprint; | |
use Illuminate\Support\Facades\Schema; | |
class CreateLogTable extends Migration | |
{ | |
/** | |
* Run the migrations. |
# (c) Nabil Redmann 2019 | |
# based on https://stackoverflow.com/a/52416973/1644202 | |
function LoadXamlFile | |
{ | |
Param | |
( | |
[Parameter(Mandatory=$true)] $xamlFile | |
) |
accesschk -w -s -u Users "C:\Program Files" >> programfiles.txt | |
accesschk -w -s -u Everyone "C:\Program Files" >> programfiles.txt | |
accesschk -w -s -u "Authenticated Users" "C:\Program Files" >> programfiles.txt | |
accesschk -w -s -u Interactive "C:\Program Files" >> programfiles.txt | |
accesschk -w -s -u "This Organization" "C:\Program Files" >> programfiles.txt | |
accesschk -w -s -u "Authentication authority asserted identity" "C:\Program Files" >> programfiles.txt | |
accesschk -w -s -u "Mandatory Label\Medium Mandatory Level" "C:\Program Files" >> programfiles.txt | |
accesschk -w -s -u %username% "C:\Program Files" >> programfiles.txt | |
accesschk -w -s -u Users "C:\Program Files (x86)" >> programfilesx86.txt |
See this issue.
Docker best practise to Control and configure Docker with systemd.
Create daemon.json
file in /etc/docker
:
{"hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"]}
# Creates PTR Records for all A Records in the specified -ZoneName. | |
# Uses a Class A Subnet for the reverse zone. | |
$computerName = 'dns-server01'; | |
# Get all the DNS A Records. | |
$records = Get-DnsServerResourceRecord -ZoneName 'zone.example.com' -RRType A -ComputerName $computerName; | |
foreach ($record in $records) | |
{ | |
# The reverse lookup domain name. This is the PTR Response. | |
$ptrDomain = $record.HostName + '.zone.example.com'; |
google-chrome --use-fake-device-for-media-stream --use-file-for-fake-video-capture=/path/to/video.y4m |