小编Ani*_*tel的帖子

在构建 docker image level=error msg="无法关闭 tar writer: io: read/write on closed pipe"

time="2017-10-27T07:39:20Z" level=error msg="Can't add file /var/app/current/app/content_classifier/forest.pickle to tar: io: read/write on closed pipe" 
time="2017-10-27T07:39:20Z" level=error msg="Can't close tar writer: io: read/write on closed pipe"
Failed to build Docker image aws_beanstalk/staging-app:  tar writer: io: read/write on closed pipe" 
Error response from daemon: Untar error on re-exec cmd: fork/exec /proc/self/exe: cannot allocate memory. Check snapshot logs for details. (Executor::NonZeroExitStatus)
Run Code Online (Sandbox Code Playgroud)

我在 django_app/content_classifer 对象中有一个 Pickle 对象。有一个类可以预测结果,并且在 celery 任务文件初始化时它正在初始化。

docker build 在给出标题中的错误消息后一直失败。

linux celery celerybeat docker amazon-elastic-beanstalk

11
推荐指数
4
解决办法
2万
查看次数

在颤动中显示运行时钟

我想知道是否有任何方法可以显示飞镖实时时钟?日期和时间(例如11/14/2018 19:34)和时间将继续运行。

可以从设备本身获取时间。

android dart flutter

3
推荐指数
3
解决办法
4039
查看次数