Code Monkey home page Code Monkey logo

weasel's Introduction

WeaSeL

A tool for running WSL distributions as easy as docker containers.

Description

WeaSeL tries to simplify the developer workflow by utilizing the Windows subsystem for Linux (WSL) for quickly spinning up a development environment containing your favourite tools.

The environment is defined like for any other docker container using a Dockerfile or also pre-existing images from the registry can be used.

The advantages compared to docker are that you get the simplicity of the docker workflow combined with higher performance as well as a better integration of Linux for Windows machines.

Quick Start

WSL uses so-called distributions which are technically an archive containing the Linux filesystem. For building such an archive out of an existing docker image (in this case debian:buster-slim), you have to call:

weasel build --tag demo hub:debian:buster-slim

After executing this command it will be automatically stored and registered for the use with WeaSeL. For spinnung up the distribution as an instance and create an interactive session, call:

weasel run demo

If you just need to execute a command inside this distribution, it is also possible to append it to this command:

weasel run demo echo works!

Installation

We directly provide the WeaSeL executable at the release page that must be downloaded. Then it can be placed at a location that is in the PATH variable.

There is even a simpler way to integrate WeaSeL in an exisiting repository. For that just download the wrapper batch script also available at the release section and place it at the root directory or the repository. When calling it, it automatically downloads the executable and executes it with the provided arguments.

โš ๏ธ Note that there is only the executable for Windows because WSL is not available on other operating systems.

weasel's People

Contributors

codetent avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.