dockerfile: vim (compiled python), vim-ipython, and ipython notebook

I would like to build a Dockerfile in linux which 1. compiles vim with python 2. installs python stack (such as numpy, scipy, ipython, etc) 3. creates ssl certificate for ipython-notebook, to view the notebooks on host machine It seemed straightforward enough. But I have run into problems despite a variety of approaches, such as […]

Docker: save internal hd contents

is there a way to save the contents of a container’s “internal” HD. I have tried to use the docker commit but when I shut down the container and turn it on again, the contents that I have downloaded or generated inside the container (logs, etc) are gone.

boot2docker command works on shell, but not in script

New to docker here. I have a series of commands which, if fire them off on the shell, work just fine, but if I put them in a script, don’t. boot2docker destroy boot2docker init boot2docker start boot2docker ssh & host=$(boot2docker ip 2> /dev/null) # everything works fine up to here ssh -i $HOME/.ssh/id_boot2docker -o “StrictHostKeyChecking […]

How to build boot2docker.iso from source?

I’m trying to setup Docker on OSX not using the OSX App or Vagrant. I noticed boot2docker now supports the VMWare Guest Additions to mount directories. However the latest version including these changes hasn’t been released yet. So how do I build a new boot2docker.iso file from the GitHub repository? Boot2docker includes a documentation on […]

Consul docker – advertise flag ignored

Hi i have configured a cluster with two nodes (two vm into virtualbox), cluster start correctly but advertise flag seems to be ignored by consul vm1 (app) ip vm2 (web) ip docker-compose vm1 (app) version: ‘2’ services: appconsul: build: consul/ ports: – – – – – – […]

Docker, monitoring container status, alerts

Is there any monitoring system for docker which “out of the box” supports sending alerts(email/smth else) in case of “Container#111 is down”? Or does implementation through the Nagios/Zabbix more right way?

Adding standard CA roots to busybox docker image

I have a docker image based on busybox. It needs to make HTTPS requests to various public hosts (e.g. facebook API). But the connection fails, seemingly because there are no CA roots in the busybox image. I do not wish to mount any volumes from this docker container. How can I add certs to the […]

Knife Container issue

My Docker, chefDk and workstation all on same node and chef server on different machine After running knife container init demo/apache2 -r recipe[“some_recipe”] It create a Docker-file and Docker Context with demo/apache2 tag name having Ubuntu image. After this ,when i run knife container build demo/apache2 it throw the following error [2015-02-27T11:05:32+00:00] INFO: Client key […]

Security: Better to run Docker on VM or bare metal?

Strictly from the perspective of security – had these questions: Which is better, running Docker on a VM or running or an actual machine? Are there security risks when running on a VM that are not present when running on actual, real hardware? Does the OS of the VM or actual hardware matter with respect […]

Pushing a docker repo – specify tag – or just repo name?

When building a docker image repo locally, I have several tags. When I want to push the “whole lot” up to the docker hub – I can run: docker push myrepo But the push command also allows you to narrow it down to specific tags. Is there any reason someone would want to do this? […]

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