You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I've been trying to run handsdown following the steps described in the docker section but I've had no luck. I keep getting:
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "handsdown": executable file not found in $PATH: unknown.
ERRO[0001] error waiting for container: context canceled
To Reproduce
It's unclear from the documentation whether or not you should be in the repo for the project you want to build the docs for, or in the parent directory, however it doesn't make a difference same error either way:
sudo docker run -v `pwd`:/app handsdown -n PROJECT_NAME
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "handsdown": executable file not found in $PATH: unknown.
ERRO[0000] error waiting for container: context canceled
The only way I have got documentation to generate is as follows:
Note that the directory I'm mounting the code to is irrelevant it just helped with testing sudo docker run -it -v ${PWD}:${PWD} --entrypoint=/bin/sh handsdown
cd <mounted directory>
python /handsdown/handsdown/main.py
Note, if you just try to run /handsdown/handsdown/main.py the user the docker container runs as doesn't have permissions and it fails
Expected behavior
The application runs and generates the documentation
Screenshots
N/A
Desktop (please complete the following information):
OS: Tested on Centos 7 and Fedora latest
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Thanks, if you work out what I'm doing wrong please let me know.
Alternatively if you want help correcting the Dockerfile I'll happily submit a PR with what works for me, although I'm not a python expert so there could be better ways to implement what I got to work.
Describe the bug
I've been trying to run handsdown following the steps described in the docker section but I've had no luck. I keep getting:
To Reproduce
It's unclear from the documentation whether or not you should be in the repo for the project you want to build the docs for, or in the parent directory, however it doesn't make a difference same error either way:
The only way I have got documentation to generate is as follows:
sudo docker run -it -v ${PWD}:${PWD} --entrypoint=/bin/sh handsdown
cd <mounted directory>
python /handsdown/handsdown/main.py
Note, if you just try to run
/handsdown/handsdown/main.py
the user the docker container runs as doesn't have permissions and it failsExpected behavior
The application runs and generates the documentation
Screenshots
N/A
Desktop (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: