Tag: fig

Docker/Boot2Docker/Fig + RabbitMQ host issue; pika.exceptions.AMQPConnectionError: [Errno -2] Name or service not known

I have just started learning RabbitMQ and Docker/Fig. I have a very simple example with 3 fig containers, one each for the Rabbit Server, Producer, and Consumer. In /etc/hosts I have set my boot2docker ip to an alias of dockerhost: /etc/hosts dockerhost When I fig up -d the RabbitMQ server, everything works as it […]

can't run fig up it always gets killed

This is a painful error as it takes a long time to get to this point and there is no visibility into what went wrong. Does anybody have suggests on locating the cause of this crash? Logs? I assume downloading the parent container is the main bottleneck. Can I short circuit this so that subsequent […]

fig.sh and mysql container losing all data after stopping services

I have a fig setup that is so inconsistent that is driving me nuts. At random times between stopping services and restarting it loses the mysql data that was created. I tried with data only containers and linking them with volumes_from and even setting the volumes directive. Last night my computer froze and I had […]

Golang revel framework hot-reload in docker environment

I’m trying to set up golang environment as described in this great post. I’m using Docker on OS X 10.10 with boot2docker (v1.3.0) and fig.sh (1.0.1). Everything runs fine, but revel‘s hot-reload not working at all. Anyone experienced same problem or know any workaround to make hot-reload work? Revel framework version 0.11.1

Can't attach volume to docker with jenkins through fig

I try setup sonarqube and jenkins through one fig config. But can’t attach volume to docker with jenkins through. Can somebody help? In this way container run correctly: docker run -p 8080:8080 -v /opt/jenkins_home:/var/jenkins_home shami13fastpool/fastpool-jenkins fig.yml: postgresql: image: orchardup/postgresql:latest environment: – POSTGRESQL_USER=sonar – POSTGRESQL_PASS=sonar – POSTGRESQL_DB=sonar volumes: – /opt/db/sonarqube/:/var/lib/postgresql ports: – “5432:5432” sonarqube: image: harbur/sonarqube:latest […]

fig up fails with error “create_container() takes at least 2 arguments”

I am trying to deploy and run my django application using docker and fig and I am running into the following error. TypeError: create_container() takes at least 2 arguments (3 given) Here’s the entire error log and the fig and docker files. (most of the details such as password are test details as I am […]

How to Update pip in docker using fig?

It seems like the pip in docker is old: Traceback (most recent call last): File “/usr/bin/pip”, line 9, in <module> load_entry_point(‘pip==1.5.4’, ‘console_scripts’, ‘pip’)() File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 351, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 2363, in load_entry_point return ep.load() File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 2088, in load entry = __import__(self.module_name, globals(),globals(), [‘__name__’]) File “/usr/lib/python2.7/dist-packages/pip/__init__.py”, line 11, […]

Fig up error exec: “bundle”: executable file not found in $PATH

I’m trying to run a Dockerized sinatra app with no database using fig, but I keep getting this error: $ fig up Recreating my_web_1… Cannot start container 93f4a091bd6387bd28d8afb8636d2b14623a08d259fba383e8771fee811061a3: exec: “bundle”: executable file not found in $PATH Here is the Dockerfile FROM ubuntu-nginx MAINTAINER Ben Bithacker ben@bithacker.org COPY Gemfile /app/Gemfile COPY Gemfile.lock /app/Gemfile.lock WORKDIR /app RUN […]

Centralized team development environment with docker

I want to build a “centralized” development environment using docker for my development team (4 PHP developers) I have one big Linux server (lot of RAM, Disk, CPU) that runs the containers. All developers have an account on this linux server (a home directory) where they put (git clone) the projects source code. Locally (on […]

Installing mongo client in a Docker container

I am using fig to build and run my app within various Docker containers and so-far, so good. I have a container for my app and a db container with mongo in it. But now I am trying to connect to the mongo server to seed it with a user and database and I can’t […]

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