Labtainers icon indicating copy to clipboard operation
Labtainers copied to clipboard

Labtainer on WSL2

Open JM2K69 opened this issue 3 years ago • 5 comments

Do you plan make available the way to install Labtainer on Windows Subsystem Linux it would be great.

JM2K69 avatar Jun 15 '21 07:06 JM2K69

image image

Docker is running ;(

JM2K69 avatar Jun 15 '21 08:06 JM2K69

We need to Add echo "sudo service docker start" >> ~/.profile for start docker at the launch but the pas is not recognize for labtainer command

JM2K69 avatar Jun 15 '21 08:06 JM2K69

It work's but nothing appear like terminals image

JM2K69 avatar Jun 15 '21 08:06 JM2K69

Do you plan make available the way to install Labtainer on Windows Subsystem Linux it would be great.

For install I need to modify the install-docker ubuntu like this

Check if current user is user login. (Targeted to avoid adding root user into docker group instead of the

Removed because in WSL2 your aren't log

#
# Install Docker on an Ubuntu system, along with other packages required by Labtainers
#

#Check if current user is user login. (Targeted to avoid adding root user into docker group instead of the th>

type sudo >/dev/null 2>&1 || { echo >&2 "Please install sudo.  Aborting."; exit 1; }
sudo -v || { echo >&2 "Please make sure user is sudoer.  Aborting."; exit 1; }
#---needed packages for install
sudo apt-get update
# gdf ubuntu
#sudo apt-get install libcurl3-gnutls=7.47.0-1ubuntu2

JM2K69 avatar Jun 15 '21 08:06 JM2K69

Hello, I've not worked with WSL2. Other than the VM appliance, the best way to run Labtainers on a Windows system is to use the Docker Desktop. See the Student Guide for how to install and run Labtainers in that environment.

mfthomps avatar Jun 15 '21 14:06 mfthomps