Docker is a software platform that allows you to build, test, deploy and share applications quickly.
Docker reduces the time spent on complex setups, combining this with the power of MDriven, app development is more faster and more focus is on the important parts of your application which is the business logic or system gist.
Docker reduces time to deployment increasing productivity and efficiency.
Apps are packaged into standardized units called containers that have everything the app needs to run including libraries, system tools, code and runtime. It faster to test, deploy and scale applications into any environment.
Docker Desktop
Docker Desktop enhances your development experience by offering a powerful user friendly platform that lets you manage your containers, applications and images directly from your machine.
Install Docker Desktop from here. Versions are available for Windows and linux.
Docker Compose
Docker compose simplifies the process of managing multicontainer applications. You are able to define and run complex setups with a single configuration file, making it easier to deploy and scale applications
Deployment
Docker makes it easy to build and run distributed microservices architectures with standardized continous integration and delivery pipelines.
Different flavours of windows and linux operating systems are available for use in docker containers. Linux containers are more ligthweight than windows containers and are free and opensource compared to windows that require licenses. Linux containers are widely supported and compatible with various tools and platforms.
MDriven Turnkey and MDriven Server have linux distributions and can be run in linux containers. Making them more portable, easier to share and run. Deploying MDriven apps is more faster and less complex.
Choose one of the linux distributions to deploy with:
- Alpine - Extremely light weight with a minimalist approach. Ideal for light weight apps, microservices and environments where efficienct resource utilization is critical.
- Ubuntu - Has a larger footprint with more preinstalled packages and tools, ideal for an enviroment where a wide range of tools and libraries are needed.
Important to Know
- Alpine Linux only comes with essential packages which attributes to its light weight. Install locale packages and set language to prevent locale errors. The MDriven Turnkey uses the Operating System locale settings to determine which locale file to use.
Setup for Docker file
RUN apk add musl-locales
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US:en
- Perform healthchecks on the MDriven Server to prevent the Server from being unavailable by restarting the MDriven Server when VistaDB locks itself.
- For local deployment, the MDriven Server and MDriven Turnkey have to be on the same network to communicate.