Skip to content
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

Error installing from docker image (to self-host) #363

Open
spencerflagg opened this issue Nov 8, 2021 · 1 comment
Open

Error installing from docker image (to self-host) #363

spencerflagg opened this issue Nov 8, 2021 · 1 comment

Comments

@spencerflagg
Copy link

new to Portier and pretty green at docker, so apologies up-front.
trying to self-host on Linode today and i'm running into an error, likely from lack of knowledge.

i'm installing on a Debian 10 node, via the docker image (docker run -v /srv/portier-broker:/data:ro portier/broker /data/config.toml) and i'm getting the following error in the terminal...

thread 'main' panicked at 'Could not read config file: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/config/toml.rs:142:35

any guidance would be greatly appreciated 🙂

@jimdigriz
Copy link
Contributor

Try instead from the project directory cloned on your workstation:

cp config.toml.dist config.toml
docker run -it --rm -v "$PWD":/data:ro portier/broker /data/config.toml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants