Skip to content

Envcontainer, a simple way to develop your projects in a fully controlled environment using docker

Notifications You must be signed in to change notification settings

erickmaria/envcontainer

Repository files navigation

Encontainer

Envcontainer, an extremely simple way to create a development environment with docker containers.

Download

Check latest version on relase page here.

Requirements

  • Docker version 18.02.0+.

Linux based systems:

  • Ubuntu (64-bit)
  • Debian (64-bit)
  • CentOS (64-bit)

Note

Obs: Windows system have not been yet tested.

Quick Start

Using Envcontainer is a three-step process:

  1. Define your app's container environment with a .envcontainer.yaml file.

    [!TIP] configuration files exemples here.

  2. Run envcontainer build
  3. Lastly, run envcontainer start and Envcontainer will start and enter your container.

A Envcontainer file looks like this:

project:
  name: <YOUR_PROJECT_NAME> # Envcontainer
  version: <YOUR_PROJECT_VERSION> # 1.0.0
  description: <YOUR_PROJECT_DESCRIPTION> # Create a development environment for Envcontainer Application.
container:
  # write Dockerfile to build container
  build: |
    FROM ubuntu:latest
auto-stop: false

For more information about envcontainer, run envcontainer help

Usage: envcontainer COMMAND --FLAGS

Commands
build:                  build a image using envcontainer configuration in the current directory
down:                   remove all envcontainer configuration running in the current directory
   --name:                     container name
   --get-closer:               will get the closest configuration file and remove all envcontainer
help:                   Run envcontainer COMMAND' for more information on a command. See: 'envcontainer help'
ls:     
run:                    execute an .envcontainer on the current directory without saving it locally
   --command:                  execute command inside container
   --name:                     container name
   --image:                    envcontainer image
up:                     run the envcontainer configuration to start the container and link it to the current directory
   --code:                     open with vscode
   --get-closer:               will get the closest configuration file to run a new container
   --auto-stop:                terminal shell that must be used
version:                show envcontainer version

Note

devcontainer commands do not support all features to manage your containers, in this case you can use docker cli commands if you need.

About

Envcontainer, a simple way to develop your projects in a fully controlled environment using docker

Resources

Stars

Watchers

Forks

Packages

No packages published