Giter Club home page Giter Club logo

docker-ads-b's People

Contributors

easternpa avatar thebiggerguy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

sbc-nerds adaniy

docker-ads-b's Issues

docker-compose vs docker stack

Raspberry Pi 2B / 1GB RAM / 4GB disk

My FA container has been dying after several hours with an error code of 137. That's pointing to an out of memory condition. But it restarts fine when I start it by hand. So I wanted to know why the docker-compose was not restarting the image.

It seems you are using the docker stack version of restart_policy in the yml but the docker stack restart policy requires "any" not "always". So I switched always to any. Then the startup failed due to no compatible nodes found. There's an issue with Raspberry Pis reporting different platforms between armhf, armv7, arm, etc. So to get it to try to start, I now run

docker stack up -c docker-compose.yml adbs --resolve-image=never

Then I run "watch docker stack ps adsb" to keep an eye on the stack. The containers reach a "preparing" state but never reach "running". I'm trying to figure out why. (Update: they eventually started after 15-20 minutes)

Also, in your dump1090 config, you have a constraints block that limits dump1090 to only run on a host named "shed". I'm guessing you run your dump1090 literally in a shed outside and that's why you only want to run it there. That doesn't work for the rest of us! I deleted the constraint block and dump1090 is now willing to start on my Pi.

Right now, I can get dump1090, fa, and fr24 to reach a preparing state in docker stack. The images show up in "docker images ls" but nothing shows up in "docker ps -as". I'll keep working on it. For this new issue, though, the restart_policy needs to be "any" not "always" to be compatible with docker stack. "Always" is for use with docker-container but the rest of the restart_policy block is not compatible with docker-container as written. Hence my containers are dying with error 137 and not restarting.

Update: Again, they eventually started after 15-20 minutes. The dump1090 container kept restarting every 2-5 minutes, so I added a restart policy line compatible with docker-compose up and relaunched it that way. FA, FR24, and dump1090 are all running under docker-compose up but none have died yet, so I don't know if the corrected restart parameter is working.

pip outdated

While building virtualradar I'm seeing a bunch of errors about pip being outdated. It is suggesting running pip update pip to correct it.

AdsbHub client fails to restart on nonerror socat exit

2018/07/28 13:09:59 socat[10] N exiting with status 0
+ SOCAT_STATUS=0
+ set -o errexit
+ echo 'Replay ended'
+ '[[' 0 -eq 0 ]]
+ echo 'Replay ended without failure'
+ break
+ exit 0
Replay ended
Replay ended without failure

PiAware - fa-mlat-client "permission denied"

I came upon your code, (thanks btw for giving me new ways to use travis ;) ).

But thats not the point, I built the PiAware image and the mlat client keeps getting permission denied.

The one thing I changed was to version 3.6.3 of PiAware, so not sure what has changed since 3.5.3.

The ADSB-Exchange one is fine. I have been able to diagnose down to the Debian image and Python versioning as the issue.

I ended up just using there Debian builder but really like the freedom of your build to control the code.

Documentation completeness

Hello, and thanks for putting this together.

I assume the general instructions are to git clone this repo, edit the variables and then run "docker-compose up"?

Also, do you know if I can run watchtower on a Raspberry Pi to keep the various containers up to date?

Thanks again.

dump1090 logs fill disk

the dump1090 logs are too verbose and fill the hosts disk quickly.

  • The logs should be less verbose
  • The logs should self truncate so not to disable the host

Enable multi architecture builds

At current Docker picks the wrong ARM images (armhf vs armel) on many ARM boards (eg. Raspberry PI).

To work around this the Docker files specify a fixed architecture tag. eg:

FROM multiarch/alpine:armhf-v3.9 as base

In general this project should support both ARM and x86 with all variants there in.

Docker bug: moby/moby#34875
Forks just to fix this issue: https://github.com/fl0wfr/docker-ads-b/commit/34cfab548187f9bb9200ec4cf98069b0761dd6d4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.