[program-l] Re: Accessibly managing Linux containers from Windows

  • From: <joeldodson@xxxxxxxxx>
  • To: <program-l@xxxxxxxxxxxxx>
  • Date: Wed, 12 Jan 2022 23:28:32 -0800

If your goal is to learn Linux and Docker, I'm a big fan of WSL2.  I have 
Ubuntu20.04 running and can easily get a bash shell on Ubuntu by simply typing 
the windows key then, "ubuntu".  That runs a bash shell from real Ubuntu.  You 
can find all kinds of information on WSL2 googling around.  Here are some good 
places to start:

https://docs.microsoft.com/en-us/windows/wsl/install
https://wsl.dev

And for Docker, check out:

https://docs.microsoft.com/en-us/windows/wsl/tutorials/wsl-containers

Regarding accessibility, I use NVDA and have a laptop with a full keyboard.  I 
use object navigation from the number pad to move around the bash shell 
console.  It works great.  The only accessibility issue I've run into was 
installing Docker Desktop.  I use the command line for everything else.   

HTH,
Joel  
 

-----Original Message-----
From: program-l-bounce@xxxxxxxxxxxxx <program-l-bounce@xxxxxxxxxxxxx> On Behalf 
Of Jad Wauthier
Sent: Wednesday, January 12, 2022 6:59 PM
To: program-l@xxxxxxxxxxxxx; Jacob Elsberry (jwelsberry) 
<dmarc-noreply@xxxxxxxxxxxxx>
Subject: [program-l] Re: Accessibly managing Linux containers from Windows

Jacob,


There are three pretty straight forward ways of doing this.  As Chris said, 
vagrant is a great tool.  You can use HyperV or VirtualBox pretty easily via 
vagrant.  HyperV is the virtualization technology/engine that vagrant uses to 
configure and run the VM.  An alternative option for simply getting experience 
with Linux is docker.  You can install docker and get a Linux container up and 
running really easily.  The last option is setting up a VM via WSL2.  Again, 
this is farily easily done.


do you know which Linux distribution your work is going to use for development 
and for production?  Which technology you use may be somewhat influenced by 
what target distribution you want to run in your VM.


PuTTY is pretty accessible and easy to use.  personally, I use PuTTY, but I 
also use the port of bash for MSys2.  Many of the Linux VMs you can get already 
have a SSH server set up.


Regards,


jad Wauthier



On 1/12/2022 8:09 PM, Jacob Elsberry (jwelsberry) wrote:

Thanks, I’ll definitely check that out. That would probably be helpful for 
local development. I suspect I may still have a need at some point to access 
some of these pre-existing Hyper-V VMs, so I imagine in that case I’d 
probably just need to get someone to configure it to have a working SSH 
server.



On Jan 12, 2022, at 8:42 PM, Chris Nestrud <ccn@xxxxxxxxxxxxxxxx> wrote:

Jacob,

I've used Vagrant (www.vagrantup.com) for quickly getting virtual 
machines up and running.

The Vagrant VMs are meant for development and testing, not production.

The steps would be:

1. make a new directory and cd to it

2. run 'vagrant init' which will create a file called Vagrantfile

3. Edit Vagrantfile to specify the setup of your VM (Linux 
distribution, type of networking, etc.).

4. Run 'vagrant up' to create the VM

5. Run 'vagrant ssh' to connect via ssh using command-line, or 
'vagrant ssh-config' to print the ssh configuration that you'd need 
when setting up a connection in a GUI client.

Hope this helps.

Chris

On Wed, Jan 12, 2022 at 08:23:59PM -0500, Jacob Elsberry wrote:
In an effort to modernize our software, we are moving away from monolithic 
applications that run on JBOSS. We are starting to containerize our 
applications, which means I will need to start getting educated about Linux 
since I really haven???t used it much at all. I use a screen reader, and 
I???m trying to anticipate any potential accessibility roadblocks now so I 
can hopefully focus on the other aspects of the learning curve without 
spending a bunch of time fighting with screen reading challenges.

I???m wondering if anyone has experience accessing a Linux virtual machine 
on Windows using Hyper-V. I believe I may need to do that in order to 
manage Linux containers, but I???m not sure the best way to make it 
accessible. It would be nice if I could access the VM from a terminal using 
my Windows screen reader, possibly by using Putty or something similar. I 
suspect the VM would need to be configured for that, so I???d probably need 
sighted help in order to set it up each time. If anyone has any suggestions 
for quickly getting screen reader access to a Linux virtual machine I would 
appreciate it very much.

Thanks!

** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq
** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq
** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq
** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

Other related posts: