/distrogo

Distrogo, tools for run code in transparent container

Primary LanguageGoGNU Affero General Public License v3.0AGPL-3.0

Distrogo

Distrogo is a tool for launching containers directly in your terminal. The created container integrates with the host system and the working directory, providing command-line utilities for interacting with the local project environment. This container can then be used to work with the project's file system and perform various tasks related to its development and management.

Table of Contents

Features

  • Create and manage containers for your project.
  • Run and work on your project in a pre-configured environment within the container.
  • View your containers and the environment settings inside them.
  • Simple command-line interface for quick and easy access to features..

Installation

To install Distrogo, you need to have Go installed on your machine. Follow the instructions below:

  1. Clone the repository:

    git clone https://github.com/vil451/distrogo.git
  2. Navigate to the project directory:

    cd distrogo
  3. Build the project:

    go build
  4. Move the binary to a directory in your PATH (optional):

    mv distrogo /usr/local/bin/

Usage

To use Distrogo, simply run the distrogo command followed by the desired sub-command. For example:

distrogo <sub-command> [options]

Commands

Create a Container Create a new container from a specified image:

distrogo create <image> [options]

Start a Container

Start a previously created container:

distrogo start <container_name>

Enter a Container

Access a running container's shell interactively:

distrogo enter <container_name>

List Containers

List all containers with options to filter by name and status:

distrogo list [options]

Examples

Create a new container:

distrogo create ubuntu

Start a container:

distrogo start my_container

Enter a container:

distrogo enter my_container

List all containers:

distrogo list

Use cases

NodeJS