Difference between revisions of "Linux"
From MgmtWiki
(→File System) |
(→Installing on Windows) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 15: | Line 15: | ||
Windows has had WSL - | Windows has had WSL - | ||
* [https://github.com/docker/for-win/issues/185 Put "C:\ProgramData\Docker" on a different drive] | * [https://github.com/docker/for-win/issues/185 Put "C:\ProgramData\Docker" on a different drive] | ||
+ | * [https://avinal.space/posts/development/wsl1.html#:~:text=There%20is%20no%20easy%20way%20to%20move%20the,%2B%20X%20shortcut%20and%20select%20Windows%20PowerShell%20%28Admin%29. Move WSL 2 Safely to another Drive] | ||
+ | * Install Docker Desktop and add the following junctions: (after creating those target directories and copying any existing data into them.) | ||
+ | mklink /j C:\ProgramData\Docker D:\ProgramData\Docker | ||
+ | Junction created for C:\ProgramData\Docker <<===>> D:\ProgramData\Docker | ||
+ | mklink /j C:\ProgramData\DockerDesktop D:\ProgramData\DockerDesktop | ||
+ | Junction created for C:\ProgramData\DockerDesktop <<===>> D:\ProgramData\DockerDesktop | ||
==Reference== | ==Reference== |
Latest revision as of 15:09, 28 August 2022
Full Title
Some useful sites for Linux especially when run from a Windows VM.
Context
- Linux Windows Kernel comparisons. Mark Russinovich You Tube presentation (2004).
Shell
- Shell Commands.
- Environmental variables of interest.
File System
- Changing file permissions.
- Using rsync from Windows includes some pretty fancy shell scripting stuff.
Installing on Windows
Windows has had WSL -
- Put "C:\ProgramData\Docker" on a different drive
- Move WSL 2 Safely to another Drive
- Install Docker Desktop and add the following junctions: (after creating those target directories and copying any existing data into them.)
mklink /j C:\ProgramData\Docker D:\ProgramData\Docker Junction created for C:\ProgramData\Docker <<===>> D:\ProgramData\Docker mklink /j C:\ProgramData\DockerDesktop D:\ProgramData\DockerDesktop Junction created for C:\ProgramData\DockerDesktop <<===>> D:\ProgramData\DockerDesktop