Docker support for the new kernel

I have installed new kernel to my ubuntu system 3.10.92 version, then I have installed docker support for it. once I start pulling some images it shows error saying that: root@ubuntu:/# docker pull hello-world Using default tag: latest Cannot connect to the Docker daemon. Is the docker daemon running on this host? Then I have […]

Running VNCserver on docker container

I’m quite new to docker. I have a container running and I wanted to VNC into the container. (open the port) I’m not sure how to do it. My container is running inside a VM. #Docker ps fc86020fff36 centos:6.6 “/bin/bash” 3 days ago Up 3 days drunk_tesla This is the netstat result. [root@fc86020fff36 bin]# netstat […]

How to configure an Hbase cluster in fully distributed mode using Docker

I’m setting up an HBase cluster in fully distributed mode, with 1 HMaster node and 3 Regionservers node My hbase-site.xml file contain <configuration> <property> <name>hbase.master</name> <value>hbase.master:60000</value> </property> <property> <name>hbase.rootdir</name> <value>hdfs://hadoop.master:9000/data/hbase</value> </property> <property> <name>hbase.cluster.distributed</name> <value>true</value> </property> <property> <name></name> <value>2181</value> </property> <property> <name></name> <value>/tmp</value> </property> <property> <name>hbase.zookeeper.quorum</name> <value>hbase.master</value> </property> </configuration> My hadoop cluster is running normally. I […]

Docker non mounting volume

Here is the situation on a clean docker-machine environment: ➜ momestock docker-machine start momestock Started machines may have new IP addresses. You may need to re-run the `docker-machine env` command. ➜ momestock eval “$(docker-machine env momestock)” ➜ momestock echo ‘Helo world!’ > hello.txt ➜ momestock ls -la total 12 drwxr-xr-x 2 andrea andrea 4096 Oct […]

How to hide SSH key to the Docker image without leaving the trace?

If I add my private SSH key to my Docker image, how can I hide it without leaving the trace, so no one (except me) can access it?

Docker LAMP Stack

I’m just learning Docker and I’ve managed to get a few containers going, but I’m trying to learn how to run everything on separate containers. SO, the idea is that I have: Mysql Container (working) PHP-FPM Container (partially working) Apache Container (not working yet) I’ve setup my LAMP stack on a vagrant and tested it […]

Managing Persistent Files (not database) with Docker

What’s the best strategy of managing persistent files (not database) such as config file, zip files, images, and so forth? I tried the following approach: Create folder /var/storage Mount this to my container as -v /var/storage:/path/to/container/storage/ However, this does not behave as expected (i.e. only the main folder storage is created, and none of the […]

chef-solo not applying recipe changes

I’m trying to vagrant up, edit ..\default.rb then run sudo chef-solo and have my new recipe version be run by chef. This is not working for me. After my initial vagrant run, chef does not apply updates to recipes. I can modify ..\default.rb all I want, but chef-solo runs the original version. vagrant setup script […]

how does docker net=host handle port conflict

How does Docker handle docker run -d –net=host <image> if I run 2 images that have the exact same port EXPOSEd? For example, if I run: $ docker run -d –net=host nginx $ docker run -d –net=host nginx $ docker run -d –net=host httpd # I now have 3 containers running, all of which EXPOSE […]

Docker Nginx image with static content from an external volume – permissions issue

When I run an Nginx container with static content from an external volume, I get a ‘forbidden’ issue. It’s stated that Docker maintains ownership of the host when using a volume so on my local OS X host, user/group is myself:staff, whereas Nginx container is expecting www-data:www-data. On a Linux system, it would be easy […]

Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.