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
2 answers

How do i automatically load code changes using docker fig

I have a simple node program app.js I mounted app.js file containing folder to a docker container. When i do fig up it works. But when i change contents of app.js and do fig stop and fig up again the changes are not loaded. How can i make sure…
debianmaster
  • 503
  • 7
  • 19
0
votes
2 answers

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…
yoma
  • 1
  • 2
0
votes
1 answer

Why does fig try to 'echo' in my nearly-empty container?

I built a data volume container for Magento database and filesystem data. It doesn't need to do anything, so I made it barebones, just scratch with a couple of files and true-asm so it can run. I then wrote a fig.yml file to put it together with…
kojiro
  • 74,557
  • 19
  • 143
  • 201
-1
votes
1 answer

Extract values from a fig file?

Given the fig file ( for example https://file.io/6Ud5sALJHi6e) how can I turn it into a ".mat" file ?
MementoMori
  • 283
  • 4
  • 10
-1
votes
1 answer

Showing two figures using matplotlib problem

I am trying to depict two figures simultaneously in two different plots. I am getting though only one figure (the first one in particular). import numpy as np import pandas as pd import matplotlib.pyplot as plt df = pd.read_excel("My…
Jack21
  • 29
  • 8
-1
votes
1 answer

python savefig shows error message : "TypeError: compile() expected string without null bytes"

So I am having an issue when I try to save figures in Python. If I create a figure f, and try to save it using the line f.savefig('Test.eps', format='eps') It yields yields the following error message : TypeError: compile() expected string…
Mdégé
  • 53
  • 1
  • 6
-1
votes
1 answer

docker/fig php environment

Can I use php container to execute scripts from other container. If I can how can I do it or what I do wrong Dockerfile: FROM ubuntu:14.04 RUN apt-get update && apt-get install -y apache2 ADD docker/apache2/apache-config.conf…
wojtusthc
  • 1
  • 1
-1
votes
2 answers

Docker: how to connect to a service that is linked only

I'm using the Postgres image that uses VOLUME to store data and doesn't expose ports to the outside but requires linking to connect to. I'm wondering if there's a way I can connect to this from the host machine using apps that require me to specify…
duality_
  • 17,738
  • 23
  • 77
  • 95
-5
votes
3 answers

Can someone help me rewrite this code (fig with multiple histograms) with a for loop or function?

I looked at a similar post but am still struggling with it. You don't have to write out the whole code if you don't want. But a syntactical guide would be helpful. Here is my lengthy manual approach: # Grid of MMR distributions by every 5…
Drew M
  • 51
  • 1
  • 5
1 2 3
9
10