Docker container issue - cannot find kibitzr-creds.yml
See original GitHub issueusing centos 7.8 on a Dell Rsomething
docker version 19.03.08
docker image peterdemin/kibitzer:latest
running the docker command from documentation
- docker run -v $PWD:/root/.config/kibitzr -v $PWD/pages:/pages peterdemin/kibitzr run
Getting error:
2020-04-01 23:33:41,187 [INFO] kibitzr.conf: No credentials file found at /root/.config/kibitzr/kibitzr-creds.yml
Traceback (most recent call last):
File "/usr/local/bin/kibitzr", line 11, in <module>
load_entry_point('kibitzr', 'console_scripts', 'kibitzr')()
File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/kibitzr/kibitzr/cli.py", line 75, in run
sys.exit(app.run(once=False, log_level=ctx.obj['log_level'], names=name))
File "/kibitzr/kibitzr/app.py", line 65, in run
checks=settings().checks,
File "/kibitzr/kibitzr/conf.py", line 166, in settings
return ReloadableSettings.instance()
File "/kibitzr/kibitzr/conf.py", line 52, in instance
cls._instance = cls(config_dir)
File "/kibitzr/kibitzr/conf.py", line 32, in __init__
self.reread()
File "/kibitzr/kibitzr/conf.py", line 63, in reread
checks = self.parser.parse_checks(conf)
File "/kibitzr/kibitzr/conf.py", line 178, in parse_checks
checks = conf.get('checks', conf.get('pages', []))
AttributeError: 'NoneType' object has no attribute 'get'
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Docker Compose Up gives "The system cannot find the file ...
My issue was that I hadn't actually run Docker first; I just installed the .msi and ran "docker-compose" from the command line. Once...
Read more >How to Fix and Debug Docker Containers Like a Superhero
While spinning up a new container, you'll hit a snag. The runtime in this instance will fail since Docker cannot find the executable....
Read more >Use Docker Compose - Docker Documentation
Docker Compose is a tool that was developed to help define and share multi-container applications. With Compose, we can create a YAML file...
Read more >Store configuration data using Docker Configs
You cannot remove a config that a running service is using. ... The first command below illustrates how to find the container ID,...
Read more >Docker Context - Docker Documentation
This guide shows how contexts make it easy for a single Docker CLI to manage multiple Swarm clusters, multiple Kubernetes clusters, and multiple...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Make sure you’re using the current version:
I updated docs with the correct directory mapping. I’m sorry for the poor initial experience. I’m closing the issue. Feel free to reopen, if it doesn’t work for you.
I tried to reproduce the issue with the latest Docker container, but it worked. Note, that I changed directory mapping and pass
-l debug
for verbose logging:⚠️ Before I did
docker pull
, I had issues similar to what you’ve seen.