Migrate a Node.js application into a Docker container

To avoid repetition, for overview and language agnostic examples on application migration to containers see Migrate your application into a Docker container Update your application Read configuration values from environment variables Node.js natively supports the reading of environment variables. Automate the application build Create the init.sh file Create the init.sh file in the source directory …

Migrate a Python application into a Docker container

To avoid repetition, for overview and language agnostic examples on application migration to containers see Migrate your application into a Docker container Update your application Read configuration values from environment variables Python natively supports the reading of environment variables. The os.environ.get() function reads the environment variables. This small function can intelligently report missing variables. Call …

Migrate your application into a Docker container

Containers are the future (and some of us are already there). Container technology, spearheaded by Docker, is revolutionary by allowing developers to write applications once, and run them (almost) anywhere. Containers help developers to fully test a complete application including frontend, middle tier, and databases on their workstations, and expect the same result in the …