-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
panic: runtime error: index out of range #226
Comments
It seems like the problem is with this line:
if I remove it, everything works |
For those who have the same problem, my problem was with how I was setting the environment variables:
when it should be:
|
Looks like you could've done with #129! Glad you solved it in the end. |
Maybe it was just me but when I found out the problem, I realized that the syntax can be a little bit confusing because most of the time fig uses "-", but environments are an exception. Also, this is just probably me but the example at http://orchardup.github.io/fig/yml.html can be a little hard to read because of the comments and word wrap. |
I agree with @luiselizondo here, have made the mistake with ENV myself more than once. @aanand any chance to change the syntax for ENV (maybe some fallback for backwards compatibility) The website could be improved by adding the 'complete' example at the bottom, without the inline comments. |
Correct build flag for arm64
I have a fig file with 3 containers, a redis container, a mongodb container and a nodejs container. With docker 0.9 everything works, buth with docker 0.11 I get an error with the web (nodejs) container:
Both redis and mongodb containers work as expected. If I start the container using docker everything works.
This is my fig.yml file for reference:
Any help will be appreciated.
The text was updated successfully, but these errors were encountered: