Cannot start some containers after restarting docker daemon

When I restart docker service, I would start the following container, but error occurs. $docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS 591009977bae yomin/deepdive:1.0 “/bin/bash” 3 weeks ago Exited (-1) 3 hours ago Error: $docker start -i -a 591009977bae Error response from daemon: Cannot start container 591009977bae: [0] Id already in use: Container with […]

Unable to pull private repo in docker

I created an image for my application and uploaded it as private repository in registry.hub.docker. Now I every time I try to pull it, I get the following error FATA[0012] Repository not found I have successfully authenticated myself with docker using docker login command Command I ran ## docker login docker login Username (werain): werain […]

Connecting Docker container to corporate LDAP server through SSL

I need to connect a Docker container to a corporate LDAP server. The container’s purpose is to authenticate users against the company’s LDAP server. The container can query the server in “anonymous” mode flawlessly. The problem is when I try to authenticate. The server requires for the credentials to be transmitted confidentially. That is, through […]

Resize container resources online

How can I resize container resources after creation, when it is online? I would like to get a permanent solution for this, that isn’t reset when restarting. I’ve set resources in creation time with following options: -c, –cpu-shares=0 –cpuset=”” -m, –memory=”” I have already tried to change values here /sys/fs/cgroup/

Docker: Npm install very slow in Ubuntu host

I created a Dockerfile for my application as shown below FROM ubuntu:14.04 MAINTAINER Shaun Thomas RUN echo “deb http://de.archive.ubuntu.com/ubuntu trusty main restricted universe multiverse” > /etc/apt/sources.list RUN apt-get update -y RUN apt-get install -y curl software-properties-common git RUN mkdir /nodejs && curl http://nodejs.org/dist/v0.10.38/node-v0.10.38-linux-x64.tar.gz | tar xvzf – -C /nodejs –strip-components=1 ENV PATH $PATH:/nodejs/bin RUN npm […]

boot2docker under proxy returns Forbidden

Absolutely newer in docker, I just downloaded and installed the boot2docker for windows, set the proxy (and NO_PROXY) settings in my /var/lib/boot2docker/profile file once the vm is loaded, and restarted the VM. The problem is I am getting a forbidden error when trying to search for / pull an image: docker@boot2docker:~$ docker search ubuntu FATA[0000] […]

GC overhead limit exceeded in Docker when trying to build project by sbt

I am trying to build sbt project inside docker container and receiving such error: java.lang.OutOfMemoryError: GC overhead limit exceeded System specs: OS osx + boot2docker(8 gig RAM for virtual machine) ubuntu 15.10 inside docker container Oracle java 1.7 or Oracle java 1.8 or OpenJdk 1.8 Scala version 2.11.6 sbt version 0.13.8 It fails only if […]

How to expose docker container's ip and port to outside docker host without port mapping on TinyCore?

I want to expose docker host IP to outer host which like this post. There is a container running web service on port 3000 which is mapped to its host (a virtual box docker machine). How do I map this virtual network to my physic host except using Nginx? (p.s. my network is pppoe)

how can I create docker private repository via docker hub api?

I can create public repository via docker hub api. How can I private repository? url=’http://index.docker.io/v1/repositories/(username)/(new_repo_name)/’ header = {‘content-type’: ‘application/json’,’Accept’: ‘application/json’,’X-Docker-Token’: ‘true’} data = [{“id”: “1020903f808f”}] auth=HTTPBasicAuth(username,password) requests.put(url,headers=header, auth=auth,data=data) and my image is: (username)/(new_repo_name) latest 1020903f808f

Filebeat vs Java logging appenders

We will start deploying our java applications using docker on AWS elasticbeanstalk, we want centralized logging and will be using ELK stack. I would like keep one process per container, therefore avoid using filebeat, but in order to do that we would have to use a different appender like syslog or even a tcp appender. […]

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