errors attempting to start up the container
See original GitHub issueHello! I’m interested in trying out your dashboard for tracking actions use on enterprise server but I’m having a bit of trouble getting your Docker image started-up. Each time I try to run the container, I get the following message, or the container doesn’t start as expected. Any ideas on what might be causing this ?
First attempt, container doesn’t start.
$ docker -D run --rm -td -p 8080:8080 --env GITHUB_USERNAME=admin --env GITHUB_APPID=2 --env GITHUB_APP_PRIVATEKEY=XXXXXXXXXX --env GITHUB_APP_CLIENTID=Iv1.86a09b1296xxxxx --env GITHUB_APP_CLIENTSECRET=XXXXXXXXX --env GITHUB_APP_INSTALLATIONID=1 ghcr.io/chriskinsman/github-action-dashboard:edge node index.js
$ 54d560156bc506f77ba0499c00d7682cb28dbf70fa708f6fdced604ebac00d15
$ docker container ls
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
Second attempt removing the detached and clean-up flags, container throws error about missing modules.
$ docker run -p 8084:8084 --env GITHUB_USERNAME=admin --env GITHUB_APPID=2 --env GITHUB_APP_PRIVATEKEY=XXXXXXXXXX --env GITHUB_APP_CLIENTID=Iv1.86a09b1296xxxxxx --env GITHUB_APP_CLIENTSECRET=XXXXXXXXXX --env GITHUB_APP_INSTALLATIONID=1 ghcr.io/chriskinsman/github-action-dashboard:edge node index.js
Error on startup
Error: Cannot find module './actions'
Require stack:
- /github-action-dashboard/configure.js
- /github-action-dashboard/index.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/github-action-dashboard/configure.js:5:17)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/github-action-dashboard/configure.js',
'/github-action-dashboard/index.js'
]
}
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
An error occurred while attempting to run Docker container ...
As a docker newbie, for me this error was caused by not being authenticated to docker. Open a command prompt and type 'docker...
Read more >How to Fix and Debug Docker Containers Like a Superhero
Container errors are tricky to diagnose, but some investigative magic works wonders. Read along to learn how to debug Docker containers.
Read more >Container permission denied: How to diagnose this error
1. Confirm the problem is security ... Use the --privileged flag to ensure it is a security problem. Sometimes the problem is related...
Read more >How to Fix CreateContainerError & CreateContainerConfigError
The following table shows the common causes of this error and how to resolve it. However, note there are many more causes of...
Read more >Fix “Failed to Enumerate Objects in the Container” Windows 10
This guide will teach you how to fix the "Failed to enumerate objects in container" error on Windows 10 using 3 different methods....
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
This should now be fixed on edge as well as dropping a 1.6.0 release.
Sorry you got caught up in this. My refactoring while adding tests missed adding actions.js to the dockerfile.
Should be all good now. Thanks for opening the issue.
So looks :latest or :1.5.0 is working.
Checking into why the issues with edge.