The following WSL configuration changes are purely optional, but can help to save a little more space on your system drive.
- https://github.com/Ileriayo/markdown-badges
- https://github.com/badges/shields
- https://github.com/alexandresanlim/Badges4-README.md-Profile
- https://github.com/mrhrifat/shield-icons
- https://github.com/Naereen/badges
- https://github.com/badgen/badgen.net
- https://github.com/badgen/badgen-icons
- https://hub.docker.com/r/amio/badgen
Here's an easy method which allows you to install multiple instances of any Linux Distro in any location under WSL2.
** Click on each heading to reveal instructions **
If you HAVEN'T installed WSL2 prior to this, open up a Powershell terminal and execute the following commands:
(Inspired by the resources listed at the bottom of this Gist)
Deleting old repos in bulk is quite easy if you've got a WSL instance at hand.
Open a text editor, and list each repository you want to delete in the form of userName\repoName with one per line.
WSL now includes support for running systemd inside your WSL distros. Here's how to set it up:
To set this up, you need to be running WSL version 0.67.6 or higher. You can check your WSL version by running this command under PowerShell or Command Prompt:
wsl --version
(Inspired by https://medium.com/@icanhazedit/clean-up-unused-github-rpositories-c2549294ee45#.3hwv4nxv5)
-
Open in a new tab all to-be-deleted github repositores (Use the mouse’s middle click or Ctrl + Click) https://github.com/username?tab=repositories
-
Use one tab https://chrome.google.com/webstore/detail/onetab/chphlpgkkbolifaimnlloiipkdnihall to shorten them to a list.
-
Save that list to some path
-
The list should be in the form of “ur_username\repo_name” per line. Use regex search (Sublime text could help). Search for ' |.*' and replace by empty.
Setup Docker to run on Windows 11 & Ubuntu WSL2 AND still be able to use Docker Desktop to monitor the lot!!
The goal here is to set up a container cluster using WSL2, Ubuntu Linux, and other Open Source packages. The secondary goal being to be able to use it from both Linux and Windows AND to be able to still use Docker Desktop under either Windows or Linux to manage things.
To do so, we need to setup WSL2, Ubuntu, dockerd and containterd, then build docker-cli for Windows and finally wire them all together so they can talk to each other.
First you need to set up Windows so that you can use virtualised containers, as well as WSL2. Type the following in a terminal:
Did you know that Windows has supported symlinks since Vista? You can create them using the Windows Command Prompt.
Symbolic Links are basically advanced shortcuts that you create on the command line. Once created, Windows treats them just the same as if they were a normal folder.
For example, let's say you have a program that needs its files at C:\MyProgram, but your C: Drive is dangerously low on space and you'd prefer to install that program on another drive, but it throws errors whenever you try to install it there. For the sake of this argument, we're going to pretend that the installer will allow you to install to an existing directory - so that one way you could solve this problem would be to create a folder called D:\Stuff\MyProgram, and then create a symbolic link at C:\MyProgram which points to D:\Stuff\MyProgram. Now, once you've installed the program and launch it, when it tries to access **C:\MyPr
| { | |
| "source": "mockoon:1.15.0", | |
| "data": [ | |
| { | |
| "type": "environment", | |
| "item": { | |
| "uuid": "", | |
| "lastMigration": 17, | |
| "name": "Docker Engine API", | |
| "endpointPrefix": "1.33", |