Is there any limit on pull number in Docker Hub

I want to use Docker in a production context. I want to let my collaborators pulling the latest image that I built, directly from Docker Hub. and I wonder if there is any restriction on pull number and image size in Docker Hub. I look at Docker Hub website but I didn’t find an answer […]

How to access GIT repo with my private key from Dockerfile

I am trying to add a private key in my Docker container which has access to my private git repositories. The testing_git file is in the folder containing Dockerfile. I am trying to make a container which can pull git code on the fly. This is my Dockerfile: FROM ubuntu:14.04.1 WORKDIR ~/.ssh RUN apt-get -y […]

Golang: Preview of managed VM app returns error

I’m trying to preview a Go docker (App Engine ManagedVM) app using the gcloud preview app run command. But I keep getting this error: Traceback (most recent call last): File “/Users/jwesonga/google-cloud-sdk/platform/google_appengine/dev_appserver.py”, line 83, in <module> _run_file(__file__, globals()) File “/Users/jwesonga/google-cloud-sdk/platform/google_appengine/dev_appserver.py”, line 79, in _run_file execfile(_PATHS.script_file(script_name), globals_) File “/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/devappserver2.py”, line 985, in <module> main() File “/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/devappserver2.py”, line […]

Using docker during the development workflow

I’m using boot2docker on OS X and cloned the following repo: https://github.com/enokd/docker-node-hello It basically has a Dockerfile and a very simple express app that prints hello world. Everything runs great when I build and run the image, but of course if I make any changes to index.js on my Mac none of that gets reflected […]

Single docker container slightly outperforming its host in cpu performance: Why?

I ran an experiment to compare the CPU performance of a docker container against the CPU performance of the host it is running on. Cases A: Benchmark program run on Host machine (Intel i5, 2.6 GHz, 2 processors, 2 cores) B: Benchmark program run on Docker container running on the same host machine. (No resource […]

How to run wget inside Ubuntu Docker image?

I’m trying to download a Debian package inside a Ubuntu container as follows: sudo docker run ubuntu:14.04 wget https://downloads-packages.s3.amazonaws.com/ubuntu-14.04/gitlab_7.8.2-omnibus.1-1_amd64.deb I get exec: “wget”: executable file not found in $PATH I’ve already installed wget with docker as follows: run ubuntu:14.04 apt-get install wget How can I download a file?

Automatically Start Services in Docker Container

I’m doing some initial tests with docker. At moment i have my images and I can put some containers running, with: docker ps I do docker attach container_id and start apache2 service. Then from the main console I commit the container to the image. After exiting the container, if I try to start the container […]

Refresh net.core.somaxcomm (or any sysctl property) for docker containers

I am trying to change net.core.somaxconn for docker container to be able to have larger queue of requests for my web application. On OS, outside docker, I first modify the property successfully: $ cat /proc/sys/net/core/somaxconn 128 $ sudo sysctl -w net.core.somaxconn=1024 net.core.somaxconn = 1024 $ cat /proc/sys/net/core/somaxconn 1024 But then I don’t know how to […]

command line arguments to docker run

i’m trying to slowly build up a docker image for our needs. What I want to do, is run my base image that has mono, and then have mono run an executable in the background. from the normal command line, without trying to run it in a container, it would look like: /usr/local/bin/mono /home/crystal/Downloads/BackgroundProcesser.exe & […]

Error 'import path does not begin with hostname' when building docker with local package

I’m trying to build a docker with a local package but get the error ‘import path does not begin with hostname’. If my understanding is correct, my Dockerfile should be just FROM golang:onbuild EXPOSE 8080 based on this article Deploying Go servers with Docker I use this code git-go-websiteskeleton as the source for building the […]

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