Giter Club home page Giter Club logo

dvs's Introduction

English | 中文简体

Build Status Go Report Card Latest Version License Repo Size

Docker-based Virtual System

dvs is a command-line tool for creating an isolated sandbox

Required: Docker

Features:

  • Cross-platform support
  • Creating an isolated Linux environment based on a sandbox
  • No residue. The container is deleted every time the process exits, don't worry it will fill up your disk space

Usage

# linux repl
$ dvs

# run command in the linux sandbox
$ dvs run ls -lh

# Run the specified sandbox with Docker Image's name
$ dvs --image node:latest run node --version

Installation

If you are using Linux/macOS. you can install it with the following command:

# install latest version
curl -fsSL https://raw.githubusercontent.com/axetroy/dvs/master/install.sh | bash
# or install specified version
curl -fsSL https://raw.githubusercontent.com/axetroy/dvs/master/install.sh | bash -s v0.1.0

Or

Download the executable file for your platform at release page

Then set the environment variable.

eg, the executable file is in the ~/bin directory.

# ~/.bash_profile
export PATH="$PATH:~/bin"

finally, try it out.

dvs --help

Upgrade

You can re-download the executable and overwrite the original file.

or run the following command to upgrade

$ dvs upgrade # upgrade to latest
$ dvs upgrade v0.2.0 # Update to specified version

Uninstall

just delete dvs executable file

Build from source code

Make sure you have [email protected] installed.

$ git clone https://github.com/axetroy/dvs.git $GOPATH/src/github.com/axetroy/dvs
$ cd $GOPATH/src/github.com/axetroy/dvs
$ make build

Test

$ make test

License

The MIT License

dvs's People

Contributors

axetroy avatar renovate[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.