Thanks to visit codestin.com
Credit goes to github.com

Skip to content

vetspec/linux-workspace

 
 

Repository files navigation

Linux workspace for Windows

if for some reason you have to work in an unfamiliar environment - this can help you

thanks can be sent to the e-mail in the profile

Who needs it:
  • Anyone who is tired of configuring WSL over and over again
  • Anyone accustomed to Linux cli-utilities but forced to work with windows
  • Anyone who cannot access hosts behind a VPN from WSL
  • Anyone who wants an example of a cross-platform work space
Dependencies:
  • Docker desktop (tested on WSL2)
  • Windows Terminal (for theme)

How to use it:

Docker desktop should be running!

Git clone to your favorite empty folder or download and extract the archive into it
Open Windows Terminal with PowerShell:

cd \path\to\you\favorite\folder

docker-compose up -d

docker ps

docker exec -it (copy and paste the name or id from the command output above) bash

After installation, inside container:
  • Change $HOME/.config/base16-shell/scripts/base16-material-palenight.sh in .bashrc, if don't like the default theme
  • Run dpkg-reconfigure tzdata, to set the desired time zone

Your needs may be broader than mine. Edit the Dockerfile and docker-compose.yml according to your needs.

Caution!

Git changes the newline character by default, which can cause problems when building the image. Comment on anything Vim-related, or study THIS and take action.

License MIT©

About

Linux workspace in docker on Windows

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 46.7%
  • Shell 27.1%
  • Vim Script 26.2%