Giter Club home page Giter Club logo

Comments (14)

Deverall avatar Deverall commented on May 26, 2024 1

I placed the modified .toml config in root and used the following command to launch:

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

from neolink.

QuantumEntangledAndy avatar QuantumEntangledAndy commented on May 26, 2024

The docker is trying to read the file neolink.conf and mount it at /etc/neolink.conf. Do you have the file neolink.conf outside of your container ready for mounting?

from neolink.

QuantumEntangledAndy avatar QuantumEntangledAndy commented on May 26, 2024

Googling around for info on the container station I think you may need to use a shared folder with the neolink.conf in and set it up as shown in here. I am not an expert on this though.

from neolink.

QuantumEntangledAndy avatar QuantumEntangledAndy commented on May 26, 2024

If you use container station though is it not being hosted externally? I don't expect this method to be able to connect to your camera on your local LAN

from neolink.

QuantumEntangledAndy avatar QuantumEntangledAndy commented on May 26, 2024

Perhaps I am misunderstanding container station though

from neolink.

QuantumEntangledAndy avatar QuantumEntangledAndy commented on May 26, 2024

Oh I see wiki on QNAP suggests you have a box running on your local LAN ok I think I understand now.

But I think your issues if that you have not got the config setup for mounting, please correct me if this is not the case

from neolink.

Deverall avatar Deverall commented on May 26, 2024

The docker is trying to read the file neolink.conf and mount it at /etc/neolink.conf. Do you have the file neolink.conf outside of your container ready for mounting?

Yes I have the modified neolink.conf file that I thought I manually copied to the /etc folder. I understand a bit about linux, but the file structure sometimes gets me.

from neolink.

QuantumEntangledAndy avatar QuantumEntangledAndy commented on May 26, 2024

So you've manually put it inside the container at /etc/neolink.conf?

If that's the case you don't need


-v /neolink.conf:/etc/neolink.conf 

Since this line of code is saying:

Find /neolink.conf outside the container and put it inside the container at /etc/neolink.conf

I think that you were getting errors because it wasn't able to find /neolink.conf outside the container

from neolink.

Deverall avatar Deverall commented on May 26, 2024

I guess I didn't put it manually in the container no. Just in the filesystem as I thought it would copy it over with that command. I think I was also getting the.toml and .conf confused with each other. I dont actually have a .conf file anywhere that I have created or modified, only the neolink.toml.

from neolink.

Deverall avatar Deverall commented on May 26, 2024

When importing the image into container station these are the defaults based on the imported docker image.
2020-07-30_08-16-21
2020-07-30_08-16-44
2020-07-30_08-17-02
2020-07-30_08-17-17

from neolink.

Deverall avatar Deverall commented on May 26, 2024

I have also modified it to what is below and get the following in the console when trying to start the container.
2020-07-30_08-28-14
2020-07-30_08-29-07

from neolink.

Deverall avatar Deverall commented on May 26, 2024

I placed my modified neolink.toml config file in the Qnap's file dir /usr/local/bin/neolink (because it looks like the command is looking there for the file to copy over to the container file structure /etc/). Maybe I am just not understanding the file structure properly?

from neolink.

QuantumEntangledAndy avatar QuantumEntangledAndy commented on May 26, 2024

Mind you I'm not a docker expert. I was just reading the manual on the -v switch. Perhaps someone who is an expert can comment.

from neolink.

Deverall avatar Deverall commented on May 26, 2024

I think I got it figured out for the most part and the container is actually running now. It was having an issue with -v switch and pulling the config from the right path. Thanks for your help in at least pointing me in the right direction, I appreciate it!

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.