Run command in background does not work

My aim is to start docker in background. Due to some issues with services, I want to start docker manually in background. Here my approach, where I run the docker daemon in background, so I don’t have the output on the command line and the command line is not blocked by the process. HTTP_PROXY= HTTPS_PROXY= […]

Fleetctl job already exists

Having issue with deploying a docker container to CoreOS. Notice the following ~CED_HOME/ » fleetctl status example.service Job example.service does not exist. ~CED_HOME/ » fleetctl submit example.service Failed creating job example.service: job already exists ~CED_HOME/ » fleetctl destroy example.service Destroyed Job example.service ~CED_HOME/ » fleetctl submit example.service ~CED_HOME/ » fleetctl start example.service Failed creating job […]

Mariadb-10.0 install fails in boot2docker with “policy-rc.d denied execution” but works in Docker

I’m trying to setup a Vagrant + Docker based development environment on OS X 10.9. The first step is to create a container for MariaDB 10. However, for some reason, the Docker image won’t build in the boot2docker VM on my OS X machine even though it works perfectly fine on Ubuntu 14.04. I’ve tried […]

Docker try to download unnecessary busybox image on creation of redis pod with kubernetes tools

I’m trying to make a demo of Kubernetes on CoreOS cluster. I have a pod with redis specifications as: redis.json { “id”: “redis”, “desiredState”: { “manifest”: { “version”: “v1beta1”, “id”: “redis”, “containers”: [{ “name”: “redis”, “image”: “dockerfile/redis”, “ports”: [{ “containerPort”: 6379, “hostPort”: 6379 }] }] } }, “labels”: { “name”: “redis” } } Then, when […]

How to run InfluxDB as a foreground process on Docker using Mesos Marathon

OBJ: I want to start a daemon container with Marathon. I want influxdb to be the service running on the container. Using the Docker run command, I currently start the influxdb service in my daemon containers using supervisord. Is there a way of starting the influxDB service in the foreground directly? Is there a way […]

How to make docker container to be accessed only in intranet

I want to run a docker container in my server, and expose a specific port to other server in the same intranet. But I don’t want my container can be accessed by internet outside. Is there any solution for my situation? Any help will be appreciated.

Proxy in boot2docker running containers to run on port 80 and a custom host name

I’m using boot2docker to setup different Docker containers on OSX. However the URLs for the applications running in these Docker containers are accessible through the IP and port e.g. Since the applications I’m working on are configured to run with a web server called Pow and URLs like htp://, I’m having trouble migration to […]

How do i make this non-interactive?

I am trying to install pseudo-distributed hadoop installation. In that, i am installing ssh for passwordless authentication. I am running it from inside a docker file. RUN /usr/bin/sudo apt-get install -y openssh-server openssh-client WORKDIR /home/hadoop_admin RUN mkdir /home/hadoop_admin/.ssh RUN chmod 700 /home/hadoop_admin/.ssh RUN ssh-keygen -t rsa -P “” -f ~/.ssh/id_dsa RUN cat ~/.ssh/ >> ~/.ssh/authorized_keys […]

Can I use Docker like this …?

My work laptop is running LinuxMint as the base OS, plus Virtualbox to run Windows 7 which is the actual work environment, usually plus an additional Virtualbox VM to run a different Windows installation in which I do my client project work (I have one VM per client, to avoid messing up my main OS). […]

OpenStack with Docker fails to spawn instances

I am trying to integrate Docker into OpenStack (Icehouse 2014.1.3) but OpenStack fails to start the instances. On compute node, in /var/log/nova/compute.log: 2014-12-02 08:34:23.167 22606 ERROR nova.compute.manager [req-ce2cd284-0ab7-48a8-ba17-d18ecb59e0a4 2f33bf612258455b86d28f0841d9b9fb 1bfa9d3fcdc8464ba3bca4f636813ea6] [instance: 67c886e1-71f7-4d94-a099-b4d485a12125] Instance failed to spawn 2014-12-02 08:34:23.167 22606 TRACE nova.compute.manager [instance: 67c886e1-71f7-4d94-a099-b4d485a12125] Traceback (most recent call last): 2014-12-02 08:34:23.167 22606 TRACE nova.compute.manager [instance: 67c886e1-71f7-4d94-a099-b4d485a12125] […]

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