Tag: boot2docker

Docker failing to add remote file with 'too many redirects'

I’m trying to build the following Dockerfile: FROM ubuntu-debootstrap:trusty ENV CONFD_VERSION 0.6.3 ENV CONFD_INTERVAL 30 ENV CONFD_NODE ENV CONFD_BACKEND etcd RUN apt-get update -q \ && DEBIAN_FRONTEND=noninteractive apt-get install -y -q nginx \ && apt-get clean \ && rm -rf /var/lib/apt/lists ADD https://github.com/kelseyhightower/confd/releases/download/v0.6.3/confd-0.6.3-linux-amd64 /usr/local/bin/confd RUN chmod +x /usr/local/bin/confd /usr/local/bin/confd EXPOSE 80 CMD confd -verbose […]

docker deploy image on multiple servers

I have developed an app image using docker.I am able to run the image but now i need to deploy it on multiple servers.I came across fig which can deploy app on multiple servers.But they are all in development stage and do not know how well they work.How can i deploy my docker image on […]

dockerizing an application on Mac OS X

I installed boot2docker as explained on the docker website. Here are some command runs to show that I have things installed correctly: $$:~ kv$ boot2docker start Waiting for VM and Docker daemon to start… ……………….ooo Started. Writing /Users/kvantum/.boot2docker/certs/boot2docker-vm/ca.pem Writing /Users/kvantum/.boot2docker/certs/boot2docker-vm/cert.pem Writing /Users/kvantum/.boot2docker/certs/boot2docker-vm/key.pem Your environment variables are already set correctly. $$:~ kv$ docker images REPOSITORY TAG […]

Boot2docker : image don't save

I’m starting to play with docker on my PC (windows 7) so I’m using Boot2Docker, but when I stop the VM all my work are remove. My questions are: Why ? How to solve this problems ?

Jenkins Docker plugin is not showing the Tag-on-completion checkbox

I am using the Jenkins Docker Plugin. I am supposed to see the Tag-on-completion checkbox with so that the images will be retained in docker. Reference: https://wiki.jenkins-ci.org/display/JENKINS/Docker+Plugin However in my Jenkins, do not see the Tag-on-completion checkbox.

How to execute a command on a running docker container?

I have a container running hadoop. I have another docker file which contains Map-Reduce job commands like creating input directory, processing a default example, displaying output. Base image for the second file is hadoop_image created from first docker file. EDIT Dockerfile – for hadoop #base image is ubuntu:precise #cdh installation #hadoop-0.20-conf-pseudo installation #CMD to start-all.sh […]

Boot2Docker Hazelcast and ulimit

I try to create a development environment for the software we develop. For this I use Docker and Boot2docker because I work on mac (Yosemite). We use Hazelcast in the product, but I am having a problem when I “dockerize” it. At the first connection to Hazelcast here’s what happens: INFOS: []:5601 [akio] [3.2.2] Hazelcast […]

nginx in Docker on OS X doen't reload html

I tried to use nginx on boot2docker with OS X. I hope to start a web server. I tried with command below; docker run -d –name web -p 80:80 -v /Users/douglas/tmp/local_console:/usr/share/nginx/html:ro nginx Then I changed the content of index.html, and curl $(boot2docker ip), but the index.html is not changed. I tried to stop and restart […]

Can't run any docker commands – timeout

I am sure that this is probably extremely stupid, and I am probably overlooking something, but I cannot run the docker command. For example when I run docker info I get (replaced some numbers with x) Get https://192.16x.5x.1×3:2376/v1.15/version: dial tcp 192.1×8.59.x03x2376: i/o timeout

How to call a container, running on a virtual machine, from a Windows browser?

I have Windows 7 operating system and have set up Docker. Docker starts on the virtual machine. I create some containers on Docker and test them on the command line, for example: curl localhost:9200 Now I want to test this container from a Windows browser http://localhost:9200 How do I call the container, which is running […]

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