Code Monkey home page Code Monkey logo

docker-development-environment's Introduction

Docker for Development Environment

Vagrant is awesome, as isolated Development Environment. Unfortunately, we cannot use Vagrant in MacOs for severtal reason. Therefore, we use this Docker configuration as Vagrant Replacement. The Docker Image is based on Ubuntu Jammy (22.04.1 LTS).

Using this configuration, we finally have isolated environment for Development. We use it as stateful environment, means we rarely destroy any data inside the container.

Usage

Clone this repository

~$ [email protected]:landx-id/docker-development-environment.git

Login to container

~$ make cli

If you want to install something inside container, then you should login as root

~$ docker exec -it dev-env /bin/bash

Working with NodeJS

NodeJS can be installed with NVM

~$ nvm install 16.14.1
~$ nvm use 16.14.1
~$ node --version
v16.14.1

Working with Python

Python 3.9 will be installed during Docker Build.

~$ python3 --version
Python 3.9.15

Working with Projects

If you want to work with your project, we recommend to place it in projects folder. This folder is mounted directly in the container, so you can work using your favorite IDE in your computer host.

Troubleshooting

Cannot login to container

Sometimes, there is a glitch that makes login to container fail when you execute make cli. If it happens, just retry to execute the command until you finally success to login into the container.

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.