Giter Club home page Giter Club logo

Comments (16)

thirtythreeforty avatar thirtythreeforty commented on June 6, 2024

Nice, thanks! Protip, not sure if you know already: when you're doing a source build, you can use FROM to copy files out of a previous image (so that you don't get all the Rust toolchain or all the build intermediates baked into the final image).

from neolink.

thirtythreeforty avatar thirtythreeforty commented on June 6, 2024

If your Dockerfile is open source and automatically built, I'll link to it in Neolink. Or, if you want to help me adapt it, I'm happy to maintain it myself once you get it working.

from neolink.

thadius83 avatar thadius83 commented on June 6, 2024

Yup can send you the Dockerfile in the morning

It’s based just from the standard Ubuntu image + apt install of gstreamer + req, then just a few scripts.

All open source.

from neolink.

thadius83 avatar thadius83 commented on June 6, 2024

https://github.com/thadius83/docker-neolink/

Only requirement is the source files, and the pre-built to be in the build directory

Working on an alpine image to reduce the size. It's the dependencies of gstreamer that cause the bloat, I suspect I could remove a lot of them manually, but lack of time.

from neolink.

thirtythreeforty avatar thirtythreeforty commented on June 6, 2024

Cool. If they're true dependencies, you can't remove them. That's what "dependency" means. But if they're recommendations, you can avoid installing them with --no-install-recommends.

from neolink.

Riza-Aslan avatar Riza-Aslan commented on June 6, 2024

@thadius83 woult you update your image with the latest Neolink files? It looks like my E1 should be supported now and i would really love to try it with your docker image.

from neolink.

thirtythreeforty avatar thirtythreeforty commented on June 6, 2024

@Riza-Aslan give the new official image a shot

from neolink.

Riza-Aslan avatar Riza-Aslan commented on June 6, 2024

Tried the official image but it didn't work for me. Do I have to start it the same way like the unofficial image or is it different? There are no Information about it on the docker page.

root@Synology:~# docker run -p 9554:8554 -v /volume4/docker/Neolink/neolink.conf:/etc/neolink.conf thirtythreeforty/neolink
[2020-07-06T07:56:04Z INFO  neolink] Neolink 0.3.0 (unknown commit) release
Error: IoError(Os { code: 2, kind: NotFound, message: "No such file or directory" })

from neolink.

thirtythreeforty avatar thirtythreeforty commented on June 6, 2024

from neolink.

thirtythreeforty avatar thirtythreeforty commented on June 6, 2024

I may have goofed up the config filename when I redid it, sorry if so.

from neolink.

Riza-Aslan avatar Riza-Aslan commented on June 6, 2024

It's starting fine now, but I cannot connect to the stream. I've build an image based on ubuntu with thadius83's dockerfile earlier and this was working for my E1 cams, but i've got wifi issues because of this. See my comment here #27

from neolink.

gramilla avatar gramilla commented on June 6, 2024

With docker image get this error
[2020-07-07T08:18:44Z INFO neolink] Neolink 0.3.0 (unknown commit) release
Error: IoError(Os { code: 21, kind: Other, message: "Is a directory" })
How can i fix it?

from neolink.

Riza-Aslan avatar Riza-Aslan commented on June 6, 2024

I think you have tried to link your configuration file to a folder. You have to start the container like this:

docker run -p 9554:8554 -v /folder/neolink.conf:/etc/neolink.conf thirtythreeforty/neolink

from neolink.

thirtythreeforty avatar thirtythreeforty commented on June 6, 2024

Here's the sample launch command from the readme. Again, the config file ends in toml not conf:

docker run \
  --restart=on-failure \
  --volume=$PWD/config.toml:/etc/neolink.toml \
  thirtythreeforty/neolink

from neolink.

Riza-Aslan avatar Riza-Aslan commented on June 6, 2024

Sorry...forgot to change it to toml before posting.

The official image is still not working for me. It's starting like it should and I can see in the logs that the stream has been startet, but I cannot connect to the stream from VLC or my Synology Surveillance Station. It worked with my own image with neolink version 0.2.0 but not yet with the official one. I've exposed 8554 and both clients take very long before telling me that they couldn't connect. If I try it on a closed port the error comes pretty fast. Do you have any ideas?

from neolink.

thirtythreeforty avatar thirtythreeforty commented on June 6, 2024

@Riza-Aslan #33 fixed the obviously broken Docker image. Try again. Thanks @m1k1o .

from neolink.

Related Issues (20)

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.