Store userDefineLang_DockerfileDark.xml
at
%AppData%\Roaming\Notepad++\userDefineLangs\userDefineLang_DockerfileDark.xml
and select Language > Dockerfile
in Notepad++.
This color theme is specifically compatible with VS2015-Dark-Npp Theme.
Store userDefineLang_DockerfileDark.xml
at
%AppData%\Roaming\Notepad++\userDefineLangs\userDefineLang_DockerfileDark.xml
and select Language > Dockerfile
in Notepad++.
This color theme is specifically compatible with VS2015-Dark-Npp Theme.
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"]}
I'm not the author the blog post and this gist is a simply a note on my usage based on the original post, https://boxofcables.dev/kvm-optimized-custom-kernel-wsl2-2022/.
I also changed the code that extract the latest to a concrete linux kernel version.
First start with openSUSE Tumbleweed distro and commands below can be used to build the custom kernel and set it to be used for WSL2 distros.
# prepare build deps
sudo zypper -n up
# original from the post
THIS GIST IS EXTREMELY OBSOLETE. DO NOT FOLLOW THESE INSTRUCTIONS. SERIOUSLY.
IF YOU IGNORE THE ABOVE WARNING, YOU AGREE IN ADVANCE THAT YOU DIDN'T GET THESE INSTRUCTIONS FROM ME, THAT I WARNED YOU, AND THAT I RESERVE THE RIGHT TO POINT AND LAUGH MOCKINGLY IF AND WHEN SOMETHING BREAKS HORRIBLY.
I'll do a write-up of current custom-kernel procedures over on Random Bytes ( https://randombytes.substack.com/ ) one day soon.
# Variables | |
$dockerFolder = ".\docker" # Binaries location | |
$installPath = "$env:ProgramFiles\Docker" # Installation directory | |
$dockerdPath = "$installPath\dockerd.exe" | |
$dockerServiceName = "docker" | |
$paths = $env:psmodulePath.Split(';') | |
$modulePath = Join-Path $paths[0] "DockerMsftProvider" | |
if (!(Test-Path $modulePath)) { | |
New-Item -Path $modulePath -ItemType Directory |
See items marked with ❤️🔥 to use winning variants
On MicroShift 4.13 installed on RHEL 9.2 using Installing and configuring MicroShift clusters product documentation, OpenShift Console can be enabled on port :9000 by fetching the files from this gist and then running
# oc create serviceaccount -n kube-system openshift-console
# bash openshift-console.eval | oc create -f -
PS ...\boringssl> mkdir build | |
PS ...\boringssl> cd build | |
PS ...\boringssl> # Create build_boringssl.ps1 | |
PS ...\boringssl\build> powershell -executionpolicy bypass -File .\build_boringssl.ps1 | |
... | |
DLL is at ...\boringssl\build\outx64\ssl\ssl.dll |