- Set environment variables
CLUSTER_NAME="rosa-hcp-rcs"
PREFIX_NAME="hcp-rcs"
REGION="us-east-1"
VERSION="4.14.9"
USER=rcarrata
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 -
See items marked with ❤️🔥 to use winning variants
# 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 |
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.
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
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"]}
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.
Located in alphabetical order (not prefer)
C
ab
), also designed as a more modern replacement, written in C
golang
)