I am trying to setup docker image for OpenTSDB with following docker file FROM centos:6.7 MAINTAINER http://www.centos.org RUN yum -y update && yum clean all RUN yum -y install httpd && yum clean all RUN yum -y install java-1.7.0-openjdk RUN yum -y install gnuplot RUN yum install -y https://github.com/OpenTSDB/opentsdb/releases/download/v2.2.0/opentsdb-2.2.0.noarch.rpm RUN sed -i ‘/^#tsd.storage.hbase.zk_basedir*/c\tsd.storage.hbase.zk_basedir = \/hbase-unsecure’ […]
In a docker swarm environment what will happen if the container dies because of an internal error? Will the task be reborn?
I have a docker image that I built from several layers and a debian:jessie base image that I’m working on making smaller. I added a cleanup layer than does apt-get remove a bunch of packages and deletes files from the filesystem. When I run the resulting image and do du -h inside it I can […]
We are using an application which is currently compiled for windows (it is a standalone .exe, not hooked into registry) and which can also be cross-compiled for *nix if needed. This application runs optimally using about 16 threads in parallel. Deploying an entire windows (or Linux) stack seems burdensome and heavy but I don’t understand […]
I am running with user namespaces enabled and I need to run a particular container as a root user (the container needs to be able to execute the Linux mount command from inside). How do I run a specific container in privileged mode when namespaces are enabled?
I have tried linking two containers and executing commands valid on one from the other which works in the docker toolbox version of the tool. Copy of YML file: version: ‘2’ services: nginx: image: nginx:latest hostname: nginx links: – php ports: – “8000:80” privileged: true php: image: php:5-fpm hostname: php privileged: true I expect to […]
Can docker containers share a unix abstract socket like the ones for DBUS? If it can be done, how do you do it? If it cannot or cannot yet, is there a way to share a dbus connection among the host and containers, or between containers?
I am running a Docker container in CoreOS (host) and mounted a host folder with a container’s folder. docker run -v /home/core/folder_name:/folder_name <container_name> Now, each time I am changing (insert/delete) some file in that host folder (folder_name), I have to restart the container (container_name) to see the effects. docker restart <container_name> Is there any way […]
I created a custom image with docker build, and want to push it to IBM Containers on Bluemix. I did login with cf login and cf ic login, then I tagged the image, set the correct registry and namespace, and the push command worked only for a few layers and then it got stuck at […]
I am learning “Docker for Mac” $ docker run -d -p 80:80 –name webserver nginx docker: Error response from daemon: Conflict. The name “/webserver” is already in use by container 728da4a0a2852869c2fbfec3e3df3e575e8b4cd06cc751498d751fbaa75e8f1b. You have to remove (or rename) that container to be able to reuse that name.. But when I run $ docker ps It shows […]