How to have login and access settings with a docker image registry

I am not new to lxc or docker. But I do not have much knowledge on the image registry. So I decided to get started and followed up tutorials and installation instructions. And things are working fine in terms of pushing and pulling from my custom registry. My questions: The registry does not seem to […]

docker restart,exit command, reboot the host machine

I pulled the image from public repo. The problem is when I attach and exit out of the container, it will reboot the host machine also. I’m not sure what is the problem here. Logs : [ when restart the container] [root@localhost ~]# docker restart 714fed06f99f 714fed06f99f [root@localhost ~]# Write failed: Broken pipe <-= DISCONNECTED […]

Restarting machines in a docker swarm on AWS

I have successfully created a docker swarm of 5 VMs on AWS using docker-machine. I stopped one VM using the command docker-machine stop aws01 and then I tried docker-machine start aws01 but Immediately I get an error Error checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates for host […]

Java Maven Project Docker Integration Tests

We have a big multi module maven project, wich uses cargo to start a tomcat with some wars, a plugin to insert sql data in a postgres database and then using cucumber we run the integration test suit. I was reading a lot about Docker, and I could play around with it. So here my […]

Runc Containerd Check pointing support

I found this docker tool that used runc natively. Containerd I have three Questions: How it Work (How it checkpoints the container)? How to use it for live migration? What it the functional call sequence that its implemented.

“Unable to locate package build-essential” while Docker build on Debian Jessie

I’m trying to run a Dockerfile that had worked very well until few days ago: FROM python:2.7 ENV DEBIAN_FRONTEND noninteractive RUN apt-get update && apt-get install -y build-essential xorg libssl-dev libxrender-dev wget gdebi RUN wget http://download.gna.org/wkhtmltopdf/0.12/0.12.2.1/wkhtmltox-0.12.2.1_linux-jessie-amd64.deb RUN gdebi –n wkhtmltox-0.12.2.1_linux-jessie-amd64.deb EXPOSE 80 ADD . /code WORKDIR /code RUN pip install -r requirements.txt RUN [“sh”, “-c”, […]

Docker container drive does not match available hard drive space on host

I have loaded a new custom image into a remote RedHat 7 docker host instance. When running a new container, the container does not attempt to use the entire disk. I get the following is the output of a df -h on the container: rootfs 9.8G 9.3G 0 100% / /dev/mapper/docker-253:0-67515990-5700c262a29a5bb39d9747532360bf6a346853b0ab1ca6e5e988d7c8191c2573 9.8G 9.3G 0 100% […]

docker API delete container not working

I access the docker API via Angular/Javascript and I can issue GET and POST calls, but when trying to remove a container with DELETE, I get “404 Not Found”. I use: http://192.168.50.6:2375/containers/8436f95d8b0d?v=1 I changed /etc/default/docker: DOCKER_OPTS=”-H tcp://192.168.50.6:2375 -H unix:///var/run/docker.sock -r=true –api-cors-header=http://localhost:8880″ When I use Chrome without security (“google-chrome –disable-web-security”) the call works.

What deletes docker images periodically?

Every so often I have observed that docker images get deleted from the local repository without an explicit rmi command. Does docker perform a clean up on the images not being used by any of the containers?

php app files permission after docker build

I’m trying to build docker image with SuiteCRM using this Dockerfile: FROM php:5.4-apache RUN a2enmod rewrite RUN apt-get update \ && apt-get install -y apt-utils \ && apt-get install -y libpng12-dev libjpeg-dev mercurial zip nano \ && docker-php-ext-configure gd –with-jpeg-dir=/usr/lib \ && docker-php-ext-install gd \ && docker-php-ext-install mysqli \ && docker-php-ext-install pdo_mysql \ && apt-get […]

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