How to Merge Two Docker Images

When working with Docker, it is a good practice to search for some ready-to-use images on Docker Hub before building you own. It is very powerful to have your software architecture distributed in a set of containers, each one does one job. An the best building block of your distributed application is to use official images from Docker Hub. You can trust their functionalities.

In some cases, you may want to have one container do two different jobs. In other few cases, you may want one Docker image to contain dependencies from two different Docker images. This is easily done as long as you have the Dockerfile of each image. Simply, organize them in one file and build it!

However, if you spend most of the time using ready images from Docker Hub, you do not have their source Dockerfile. I spent some time searching for a tool to use it to merge (or flatten) two different Docker images; that I don’t have their Dockerfiles. I was searching for something to do the following:

image1 --
             ---> merged_image_12
image2 --

Although this issue was closed before in two different threads (1, 2), it arises in some scenarios when you want to do something like that!..

How to Merge Two Docker Images

An overview on smart pointers

“My last blog post in 2013 was about the pointer in C++, and how most of its daily usages in C++ is now being replaced by classes replacing or managing the pointer. The last case, the RAII like objects called smart pointers is the topic of this post. I want to give an overview over the choices one can make when using smart pointers.

As I studied last year boost, Qt and wxWidgets closer, I saw, that all of them have their own implementations of smart pointers. Also, C++11 brings its own set of two classes of smart pointers. So, with C++11, smart pointers have arrived in the standard, and everyone using C++11 automaticly has 2 different good options for managing memory allocated with new…”

Visualizing Docker Containers and Images

“This post is meant as a Docker 102-level post.  If you are unaware of what Docker is, or don’t know how it compares to virtual machines or to configuration management tools, then this post might be a bit too advanced at this time.

This post hopes to aid those struggling to internalize the docker command-line, specifically with knowing the exact difference between a container and an image.  More specifically, this post shall differentiate a simple container from a running container…”

Tarantool – Get your data in RAM. Get compute close to data. Enjoy the performance

  • A drop-in replacement for Lua 5.1, based on LuaJIT 2.0;
    simply use #!/usr/bin/tarantool instead of #!/usr/bin/lua in your script
  • Lua packages for non-blocking I/O, fibers and HTTP
  • MessagePack data format and MessagePack based client-server protocol
  • a built-in database with two data engines: 100% in-memory with optional persistence and a 2-level disk-based B-tree, to use with large data sets
  • secondary key and index iterators support
  • asynchronous master-master replication
  • authentication and access control

The 50 Most Popular MOOCs of All Time

“Unlike regular college/ university courses, MOOCs can attract many thousands of enrollees around the world. They can come in the form of active course sessions with participant interaction, or as archived content for self-paced study. MOOCs can be free, or there can be a charge – either on a subscription basis or a one-time charge. Free MOOCs sometimes have a paid “verified certificate” option.There are now thousands of MOOCs available worldwide from several hundred colleges, universities and other institutions of higher learning. For your convenience, we’ve compiled a list of 50 of the most popular MOOCs, based on enrollment figures for all sessions of a course. The ranking is based on filtering enrollment data for 185 free MOOCs on various elearning platforms…”

How We Use Deep Learning to Classify Business Photos at Yelp

“Yelp hosts tens of millions of photos uploaded by Yelpers from all around the world. The wide variety of these photos provides a rich window into local businesses, a window we’re only just peeking through today.

One way we’re trying to open that window is by developing a photo understanding system which allows us to create semantic data about individual photographs. The data generated by the system has been powering our recent launch of tabbed photo browsing as well as our first attempts at content-based photo diversification…”

List of books to master JavaScript Development

List of books to master JavaScript Development

Topic Books Price
Basic JavaScript Eloquent JavaScript free
Tooling JavaScript Application Design paid
ES6 Exploring ES6 free
Testing JavaScript Testing Recipes paid
DOM DOM Enlightenment free
Functional Programming JavaScript Allongé, the “Six” Edition free
Object-Oriented Programming JavaScript Spessore free
Async Programming Async JavaScript paid
Design Patterns & Architectures Learning JavaScript Design Patterns free
Single Page Application Single page apps in depth free
Practical Project Building A JavaScript Framework free
Practical Project Building Front-End Web Apps with Plain JavaScript free
Practical Project Human JavaScript free