Envcontainer, an extremely simple way to create a development environment with docker containers.
Check latest version on relase page here.
Docker version 18.02.0+.
Docker compose 1.27.0+.
Linux based systems
- Ubuntu (64-bit)
- Debian (64-bit)
- CentOS (64-bit)
Obs: Windows system have not been yet tested.
Inside your project run command
envcontainer init
This command will create a folder named by ".envcontainer", with a some files like Dockerfile, docker-compose and .variables.
How your can edit Dockerfile into .envcontainer folder to prepare your workspace inside container
Obs: make sure the Dockerfile base image has an entrypoint otherwise add it at the end of the file
envcontainer build
By default init command already execute build command to build Dockerfile and up container but if you edited Dockerfile make sure run this command to the envcontainer get the latest modifications
envcontainer up
Using this commmand envcontainer will enter inside container shell.
envcontainer down
the stop command will kill container stopping your envcontainer environment
envcontainer delete
will delete container running, image and envcontainer files.
envcontainer help