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
While running the project using docker run --privileged -p 8080:8080 stefanasandei/exec:0.2
I am getting below error:
Unable to find image 'stefanasandei/exec:0.2' locally
docker: Error response from daemon: pull access denied for stefanasandei/exec, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
That happens because I didn't push to dockerhub. To run it locally first you have to build the container, by running this in the directory of the project:
$ docker build -t name:version .
And replace "name:version" with whatever, in the README I specified my local setup "stefanasandei/exec:0.2". After you have built the container you can run it using that command:
$ docker run --privileged -p 8080:8080 name:version
Or you can also run the project without docker, if you have Rust and Cargo installed:
I know this is not a right issue but I think, if you could add a sample code of what post body to be sent for the code execution will be helpful a lot rather than referring the model.rs file.
Activity
stefanasandei commentedon Nov 28, 2023
Hello, yes I can add in the coming days support for python (and other interpreted programming languages).
I'm glad you like this project, if you have any issues running it locally, let me know and I can help!
gouseferoz commentedon Nov 28, 2023
While running the project using
docker run --privileged -p 8080:8080 stefanasandei/exec:0.2I am getting below error:
Can you help me how to run this?
stefanasandei commentedon Nov 28, 2023
That happens because I didn't push to dockerhub. To run it locally first you have to build the container, by running this in the directory of the project:
And replace "name:version" with whatever, in the README I specified my local setup "stefanasandei/exec:0.2". After you have built the container you can run it using that command:
Or you can also run the project without docker, if you have Rust and Cargo installed:
gouseferoz commentedon Nov 29, 2023
Thanks @stefanasandei I was able to build and run it.
I know this is not a right issue but I think, if you could add a sample code of what post body to be sent for the code execution will be helpful a lot rather than referring the
model.rsfile.