Cannot start the container with image from version 1.15.5 #2771
Unanswered
zhe-sun-lyra
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We use the image as a base image for our mock service.
Our Dockerfile is like
`
FROM stoplight/prism
COPY mock.yaml /root/apis/mock.yaml
EXPOSE 4010
CMD ["mock", "-h", "0.0.0.0", "/root/apis/mock.yaml"]
`
This works well before the latest version is upgraded to 1.15.5
After the upgrade, we can not run the container any longer.
We have an error
TypeError: Cannot read properties of undefined (reading 'isPrimary') at createMultiProcessPrism (/usr/src/prism/packages/cli/dist/util/createServer.js:29:32) at runPrismAndSetupWatcher (/usr/src/prism/packages/cli/dist/util/runner.js:8:12) at Object.handler (/usr/src/prism/packages/cli/dist/commands/mock.js:60:52) at Object.runCommand (/usr/src/prism/packages/cli/node_modules/yargs/build/index.cjs:446:48) at Object.parseArgs [as _parseArgs] (/usr/src/prism/packages/cli/node_modules/yargs/build/index.cjs:2697:57) at Object.get [as argv] (/usr/src/prism/packages/cli/node_modules/yargs/build/index.cjs:2651:25) at Object.<anonymous> (/usr/src/prism/packages/cli/dist/index.js:15:26) at Module._compile (node:internal/modules/cjs/loader:1812:14) at Object..js (node:internal/modules/cjs/loader:1943:10) at Module.load (node:internal/modules/cjs/loader:1533:32)It seems a node cluster error ?
Thank you for your help
Beta Was this translation helpful? Give feedback.
All reactions