-
-
Notifications
You must be signed in to change notification settings - Fork 223
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
Rust Error on Docker Run Image #519
Comments
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
Hey @TrustTheRust, can you please provide more details about the commands you run? Which operating system are you on? |
Yes, OS: Commands Run: 2: "sudo nano Config.rs" => Changed to a working remote PG DB 3: "sudo nano Makefile" => changed podman to docker 4: "make all" => "Finished processing of "app.wasm"!" 5: "sudo make deploy" => " Finished release [optimized] target(s) in 1m 55s 6: "sudo docker ps" => "CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES" 7: "sudo docker images" => "REPOSITORY TAG IMAGE ID CREATED SIZE 8: "sudo docker run webapp:latest" => "Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }" Which OS are you seeing success on? Any ideas how to trace this bug? |
Running Ubuntu 18.04.3 LTS have the same issue: |
Yeah the thing is that you have to mount the configuration into the container, like in the Lines 80 to 90 in 4115c0f
I decided to not add the config as part of the container image because it may contain sensitive data :) |
The build works just fine on ubuntu but I'm receiving this elusive rust error on 'sudo docker run'
This is a clean install on ubuntu 16.04, instructions worked fine but the image did not start up, i then ran manually and found this error.
The resulting internet searches for this error are not very helpful and this may be an easy fix. Any ideas anyone? Thanks.
The text was updated successfully, but these errors were encountered: