rosehgal / DockerENT

The only open-source tool to analyze vulnerabilities and configuration issues with running docker container(s) and docker networks.
MIT License
126 stars 17 forks source link

`DockerENT -w` doesnot works with pip install setup #33

Closed rosehgal closed 4 years ago

rosehgal commented 4 years ago

Describe the bug

➜  ~ DockerENT -w
2020-09-05 12:46:44 INFO     2020-09-05 12:46:44 [68372] [MainProcess] [MainThread] INFO DockerENT.__main__:125 - Starting web application ...                                         __main__.py:125
Usage: streamlit run [OPTIONS] TARGET [ARGS]...

Error: Invalid value: File does not exist: web_app.py
Traceback (most recent call last):
  File "/usr/local/bin/DockerENT", line 5, in <module>
    from DockerENT.__main__ import start
  File "/usr/local/lib/python3.7/site-packages/DockerENT/__main__.py", line 143, in <module>
    start()
  File "/usr/local/lib/python3.7/site-packages/DockerENT/__main__.py", line 131, in start
    _log.info(web_process.stdout.read())
AttributeError: 'NoneType' object has no attribute 'read'

To Reproduce

pip install DockerENT

DockerENT -w