CircleCI Docker退出代码137

我正在使用- image: peopleperhour/dynamodb作为我的CircleCIconfiguration文件中的泊坞窗图像。

在CircleCI中输出以下内容。

 Initializing DynamoDB Local with the following configuration: Port: 8000 InMemory: false DbPath: /var/dynamodb_local SharedDb: false shouldDelayTransientStatuses: false CorsParams: * Exited with code 137 

第一个testing通过罚款和Exited with code 137不会发生,直到以后。 但一旦发生错误,所有的testing开始失败。

我看到这个链接,并改变我的代码,以下没有运气。

  - image: peopleperhour/dynamodb environment: MAX_HEAP_SIZE: 2048m HEAP_NEWSIZE: 512m 

有想法该怎么解决这个吗?

作为解决方法,您可以尝试指定容器的重新启动策略:

 - image: peopleperhour/dynamodb restart: on-failure # Restart the container if it exits due to an error environment: MAX_HEAP_SIZE: 2048m HEAP_NEWSIZE: 512m