Tag: linux containers

Issues with docker 1.2

I’m trying to use docker version 1.2 and I’m having issues with it. When I restart the service it says running but when I run docker images (even with sudo) it gives me this error. Cannot connect to the Docker daemon. Is ‘docker -d’ running on this host? I have added this export to my […]

How to run gerrit cookbook inside docker containers?

I’m running community gerrit cookbook in docker using chef-solo. If I run the cookbook in a Dockerfile as a build step, it throws an error (check the log). But if I run the image and go inside the container and run the same command, it works fine. Any idea what’s going on? Its complaining about […]

2 docker containers run in 1 container

i try to start two detached containers. first a MySql docker run -td –name mysql -p 3306:3306 -e MYSQL_PASS=”admin” tutum/mysql the i try to start a self built container for apache, typo3 docker run -td –name typo -p 80:80 –link mysql:mysql thomasm/typo3-45 i would now expect that the two containers show up in docker ps […]

Linked container IP not in hosts

I’m trying to configure a simple LAMP app. Here is my Dockerfile FROM ubuntu # … RUN apt-get update RUN apt-get -yq install apache2 # … WORKDIR /data And my docker-compose.yml db: image: mysql web: build: . ports: – 80:80 volumes: – .:/data links: – db command: /data/run.sh After docker-compose build & up I was […]

What's not possible to do in a Docker container?

I’m interested in using Docker to run tests on Puppet modules. However, a Docker container is not a fully fledged OS and you can’t perform every task (As I learnt when trying to test a swapfile module) Is there a comprehensive list of what is impossible to do in a Docker container, such as managing […]

packaging extra files with docker image

I have a spring boot application(java) that when run normally needs java 8, my python scripts in directory and the dir must exist where i keep the generated jar and python3.4 on the system I am able to create a docker container of my spring boot application and package the jar and the scripts/ directory […]

Unable to launch docker daemon

I have downloaded docker and when I try to launch the docker daemon using the command, service docker daemon I am getting the below error message, Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service docker daemon Since the script you are attempting to invoke has been converted to an Upstart […]

Apache-drill is not running inside docker container

I was trying move our web application into a docker container. I created a custom docker image for this purpose. I have installed Java-1.8, apache-drill-1.6, zookeeper-3.4.8 & apache-karaf-4.0.4 within the docker container. [ I have already came through some articles related to running multiple processes within a docker container . But unfortunately, I need everything […]

Linux Container vs JVM

What’s the big difference between a container running on top of docker and a self contained Java program running on top of the JVM? I assume both are running directly on a physical linux server without underlying visualization.

Linux / Fedora sandboxing processes and filesystem changes

Is there a Linux (close) equivalent, that runs on Fedora, to the Windows program sandboxie? It’s not perfect, but it basically creates a C:\Sandbox\\XYZ directory and any processes running in the XYZ sandbox are transparently (to the processes) locked to making changes in that folder. Sandboxie can allow processes running through it to see outside […]

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