Questions tagged [fig]

[Fig] is a tool built by Orchard for creating fast, isolated development environments using Docker.

Fig is a tool built by Orchard for creating fast, isolated development environments using Docker. It allows you to define the parameters to each docker container in the deployment as well as the links between the containers. Fig is useful for bringing up the entire deployment with a single command. Fig files can also be integrated with Orchard to run remote docker containers.

Fig has now been replaced by Docker Compose, and is now deprecated.

144 questions
0
votes
0 answers

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…
Romeo Mihalcea
  • 9,714
  • 12
  • 50
  • 102
0
votes
1 answer

Build only option with Fig up

IU have the following fig.yml: doc1: build: Dockerfile1 doc2: build: Dockerfile2 Dockerfile2 is build FROM Dockerfile1. So when I fig up I want to Build Dockerfile1 only (not run it) Build and Run Dockerfile2 Is this possible?
DarVar
  • 16,882
  • 29
  • 97
  • 146
0
votes
1 answer

Run multiple identical fig environment on the same host

Imagine : 2 developers have an ssh access and can git clone a project with a fig.yml file. they clone the project with the same directory name ... therefore they can't launch the project 2 times to work independently on the source code. The firt fig…
kondor
  • 783
  • 1
  • 8
  • 22
0
votes
2 answers

How to set Zookeeper dataDir in Docker (fig.yml)

I've configured Zookeeper and Kafka containers in a fig.yml file for Docker. Both containers start fine. But after sending a number of messages, my application /zk-client hangs. On checking zookeeper logs, I see the error: Error Path:/brokers…
okello
  • 601
  • 10
  • 27
0
votes
1 answer

Fig doesn't link two containers

Long story short: fig up doesn't link 2 containers properly when docker rundoes. Scenario: There are 2 containers: one with Cassandra, another with client service. When containers start Client expects to have cassandra hostname in hosts file and be…
Dima
  • 6,721
  • 4
  • 24
  • 43
0
votes
2 answers

docker/fig: port forwarding to guest machine does not work on MacOS

I am trying to get this fig image here up and running: https://registry.hub.docker.com/u/harbur/sonarqube/ docker and fig installed fine and also the two images boot normally (including the applications - checked from the logs). however, there…
Matthias
  • 2,622
  • 1
  • 18
  • 29
0
votes
1 answer

Making host-resolved environment variables work with fig on boot2docker

According to the fig YML reference, I should be able to declare an environment variable with only a key to resolve this to the corresponding variable on the host. That doesn't work for me in boot2docker. Here's my fig.yml: test: image: ubuntu …
Henrik Heimbuerger
  • 9,924
  • 6
  • 56
  • 69
0
votes
1 answer

Re-build Go (App Engine) app running inside docker container?

Normally, when you run a Go app using Go-Appengine's goapp serve command, file changes are detected and initiate a re-build. INFO 2015-01-11 ... Detected file changes: ... I'm currently experimenting with running Go-Appengine inside a docker…
Quentin Donnellan
  • 2,687
  • 1
  • 18
  • 24
0
votes
0 answers

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…
Douglas Ferguson
  • 1,242
  • 2
  • 14
  • 25
0
votes
1 answer

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":…
User314159
  • 7,733
  • 9
  • 39
  • 63
0
votes
2 answers

Errors running Fig, pkg_resources.DistributionNotFound

I downloaded fig but when I run it, I get this error: File "/usr/local/bin/fig", line 5, in from pkg_resources import load_entry_point File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python …
User314159
  • 7,733
  • 9
  • 39
  • 63
0
votes
2 answers

Fig: how do I run commands on an existing container?

I have two containers running with fig up: web and db. I'd like to get some info about the environment where the web container is running: what env variables are set, read some logs that the web server has written, etc. I know that containers are a…
duality_
  • 17,738
  • 23
  • 77
  • 95
0
votes
2 answers

Makefile for running fig

I try to create a make task which do fig up and install fig and docker in case when they don't installed. Problem which I try to address is a easy way to work with a project for newcomers. I finished with something like this: .PHONY: up up: …
kharandziuk
  • 12,020
  • 17
  • 63
  • 121
0
votes
2 answers

fig throws exception after installation

I installed fig on Arch Linux using the following command sudo pip install -U fig. After the installation was completed, I've tried to run fig --version but this gave me following errors: Traceback (most recent call last): File "/usr/bin/fig",…
Paul
  • 1,325
  • 2
  • 19
  • 41
0
votes
1 answer

Alternative to fig.sh for node.js?

Currently I'm looking to an alternative to fig.sh but for node.js (or heroku style). Any suggestions?
bmustata
  • 597
  • 9
  • 19
1 2 3
9
10