2015-11-17 Klaus Ma
docker-machine DOCKER_MACHINE=https://github.com/docker/machine/releases/download/v0.5.0/docker-machine_linux-amd64.zip curl -L $DOCKER_MACHINE > machine.zip && \ unzip machine.zip && \ rm machine.zip && \ mv docker-machine* /usr/local/bin 继续阅读 »
2015-11-16 Klaus Ma
Error Message: Error response from daemon: Cannot start container 848ac591eec5ae7a0ada1a84 5fb588615e00331a99fa9d72631ce755d0e01158: [8] System error: failed to add interface veth0f084cf to sandbox: failed in prefunc: failed to set namespace on link "veth0f084cf": invalid argument 继续阅读 »
2015-11-12 Klaus Ma
Docker Volume Plugin The above picture show the overall architecture of Docker volume plugin. The docker daemon communicate with VolumePlugin by volume_driver.sock (Unix Domain Socket); the volume plugin take responsibility to mount the distributed FS into local FS and return the mount point to docker daemon. The do 继续阅读 »
2015-09-02 Klaus Ma
Thanks for your recognition, that makes me exciting and exciting! How time fast! It's really lucky for me to live in such a great team; I'd like to wok here with you for another 50 years, just not sure whether I can see screen clearly when I'm 80 years old :). 继续阅读 »
2015-08-30 Klaus Ma
The MesosCon, organized by the The Linux Foundation will take place from 20th August to the 21st August 2015 at the Sheraton Seattle Hotel in Seattle, United States Of America. The conference will feature two days of sessions to learn more about the Mesos core, an ecosystem developed around the project, and related tec 继续阅读 »
2015-08-29 Klaus Ma
Here is my way on how to change the selected item colour on Ubuntu (14.04); the steps are as follows: To start off, we need to open dconf-editor (Press Alt+F2 and type dconf-editor followed by the enter key). Navigate to the following path: org > gnome > desktop > interface. Find the key called "gtk-color-scheme" and 继续阅读 »
2015-08-11 Klaus Ma
Compile Mesos UT cases without running them make check -j8 GTEST_FILTER=-"*" Run compiled Mesos UT cases cd build src/mesos-tests --gtest_filter=FetcherTest.OSNetUriTest 继续阅读 »
2015-08-09 Klaus Ma
You can find recipes for using Google Mock here. If you haven't yet, please read the ForDummies document first to make sure you understand the basics. 继续阅读 »
2015-08-09 Klaus Ma
What Is Google C++ Mocking Framework? When you write a prototype or test, often it's not feasible or wise to rely on real objects entirely. A mock object implements the same interface as a real object (so it can be used as one), but lets you specify at run time how it will be used and what it should do (which methods 继续阅读 »
2015-07-20 Klaus Ma
git fetch origin git reset --hard origin/master 继续阅读 »