一些自定义Docker镜像的Dockerfile文件及使用
Copyright © 2019-present @iouAkira. Licensed under GPL License.
一些自定义Docker镜像的Dockerfile文件
License: GNU General Public License v3.0
@lxk0301给的地址已失效https://github.com/iouAkira/scripts/blob/patch-1/docker/docker%E5%A4%9A%E8%B4%A6%E6%88%B7%E4%BD%BF%E7%94%A8%E7%8B%AC%E7%AB%8B%E5%AE%B9%E5%99%A8%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E.md#%E4%BD%BF%E7%94%A8%E6%AD%A4%E6%96%B9%E5%BC%8F%E8%AF%B7%E5%85%88%E7%90%86%E8%A7%A3%E5%AD%A6%E4%BC%9A%E4%BD%BF%E7%94%A8docker%E5%8A%9E%E6%B3%95%E4%B8%80%E7%9A%84%E4%BD%BF%E7%94%A8%E6%96%B9%E5%BC%8F,如果有的话能发我一份学习学习吗,蟹蟹!
一直用你的镜像 最近重装机器发现拉不到镜像了
大佬您好,valine-admin镜像无法自动发送邮件,同时docker容器日志如下,希望能修复,感谢!
0条定时任务发送邮件记录更新至Comment!
查询发送邮件日志报错 { Error: Class or object doesn't exists. [404 GET https://bcdoxfqp.api.lncldglobal.com/1.1/classes/Notifications]
at /Valine-Admin/node_modules/leancloud-storage/dist/node/request.js:163:17
at tryCatch (/Valine-Admin/node_modules/es6-promise/dist/es6-promise.js:410:12)
at invokeCallback (/Valine-Admin/node_modules/es6-promise/dist/es6-promise.js:425:13)
at publish (/Valine-Admin/node_modules/es6-promise/dist/es6-promise.js:399:7)
at publishRejection (/Valine-Admin/node_modules/es6-promise/dist/es6-promise.js:340:3)
at flush (/Valine-Admin/node_modules/es6-promise/dist/es6-promise.js:128:5)
at process._tickCallback (internal/process/next_tick.js:61:11) code: 101, rawMessage: 'Class or object doesn't exists.' }
查询发送邮件日志报错 { Error: Class or object doesn't exists. [404 GET https://bcdoxfqp.api.lncldglobal.com/1.1/classes/Notifications]
at /Valine-Admin/node_modules/leancloud-storage/dist/node/request.js:163:17
at tryCatch (/Valine-Admin/node_modules/es6-promise/dist/es6-promise.js:410:12)
at invokeCallback (/Valine-Admin/node_modules/es6-promise/dist/es6-promise.js:425:13)
at publish (/Valine-Admin/node_modules/es6-promise/dist/es6-promise.js:399:7)
at publishRejection (/Valine-Admin/node_modules/es6-promise/dist/es6-promise.js:340:3)
at flush (/Valine-Admin/node_modules/es6-promise/dist/es6-promise.js:128:5)
at process._tickCallback (internal/process/next_tick.js:61:11) code: 101, rawMessage: 'Class or object doesn't exists.' }
(node:194) UnhandledPromiseRejectionWarning: SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at /qqread/Task/qqreads.js:571:25
at /qqread/Task/qqreads.js:793:4877
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:194) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:194) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
复制出来文件 单独运行 不会报错。 上传阅读时间
我填了微信,钉钉和TG,都收不到。看了喜马拉雅的日志,里面确有推送记录。(我另外一个京东用的是同样的KEY,消息接收确没问题。)求指导问题在哪
这里写错了,把文件名写入了cookies.list中,应该改为:
echo "$JD_COOKIE" | sed "s/( &|&)/\n/g" >"$COOKIE_LIST"
OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "bash": executable file not found in $PATH: unknown
请问消息推送支持pushplus吗?
由于原作者脚本中未定义,XMLY_ACCUMULATE_TIME = os.environ["XMLY_ACCUMULATE_TIME"],所以Docker容器构建代码中 sed -i 's/if\ XMLY_ACCUMULATE_TIME/if\ os.environ["XMLY_ACCUMULATE_TIME"]/g' /xmly_speed/xmly_speed.py \ 修改参数无效,由于在构建代码中将XMLY_ACCUMULATE_TIME 定义为0,导致无法开启刷时长
错误代码
routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330::statem_clnt.c:1913:
3069703056:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
3069703056:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1913:
docker命令可以通过docker run --security-opt seccomp:unconfined xxxxx 解决
请问在docker-compose上有没有什么办法解决呢
喜马拉雅Telegram不推送,企鹅阅读推送正常,观察两天都未推送,未找到问题所在。。
echo "第7步判断是否存在自定义任务任务列表并追加..."
if [ "$CUSTOM_LIST_FILE" ]; then
echo "└──您配置了自定义任务文件:$CUSTOM_LIST_FILE,自定义任务类型为:$CUSTOM_LIST_MERGE_TYPE..."
if [ -f "$customListFile" ]; then
if [ "$CUSTOM_LIST_MERGE_TYPE" == "append" ]; then
echo "└──合并默认定时任务文件:$DEFAULT_LIST_FILE 和 自定义定时任务文件:$CUSTOM_LIST_FILE"
echo -e "" >>$DD_CRON_FILE_PATH
cat "$customListFile" >>$DD_CRON_FILE_PATH
引用的 $customListFile 是未定义的,因此会导致自定义的CUSTOM_LIST_FILE任务文件merge失败
这个版本的efb现在登录不上啊,请教怎么自己制作efb镜像,系统是mac。 自己动手丰衣足食。
{
"cap_add" : null,
"cap_drop" : null,
"cmd" : "",
"cpu_priority" : 0,
"devices" : null,
"enable_publish_all_ports" : false,
"enable_restart_policy" : true,
"enabled" : false,
"env_variables" : [
{
"key" : "PATH",
"value" : "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
},
{
"key" : "CDN_JD_DAILYBONUS",
"value" : "true"
},
{
"key" : "JD_COOKIE",
"value" : "pt_key=xxx;pt_pin=xxx;&pt_key=111;pt_pin=111;"
},
{
"key" : "BARK_PUSH",
"value" : "https://api.day.app/xxx"
},
{
"key" : "BARK_SOUND",
"value" : "https://api.day.app/xxx/推送铃声?sound=healthnotification"
},
{
"key" : "PLANT_BEAN_SHARECODES",
"value" : ""
},
{
"key" : "FRUITSHARECODES",
"value" : ""
},
{
"key" : "PETSHARECODES",
"value" : ""
},
{
"key" : "SUPERMARKET_SHARECODES",
"value" : ""
},
{
"key" : "CRONTAB_LIST_FILE",
"value" : "crontab_list.sh"
}
],
"exporting" : false,
"id" : "18af38bc0ac37a40e4b9608a86fef56c464577cc160bbdddec90155284fcf4e5",
"image" : "akyakya/jd_scripts",
"is_ddsm" : false,
"is_package" : false,
"links" : [],
"memory_limit" : 0,
"name" : "jd_scripts",
"network" : [
{
"driver" : "bridge",
"name" : "bridge"
}
],
"network_mode" : "default",
"port_bindings" : [],
"privileged" : false,
"shortcut" : {
"enable_shortcut" : false,
"enable_status_page" : false,
"enable_web_page" : false,
"web_page_url" : ""
},
"use_host_network" : false,
"volume_bindings" : [
{
"host_volume_file" : "/docker/jd_scripts/logs",
"mount_point" : "/scripts/logs",
"type" : "rw"
}
]
}
一直报启动错误。重新拿一份新的脚本填写,导入也还是这样。。。
efbv2 发生了啥,我昨天刚装完。还想着怎么把之前的绑定通道的配置放进去呢
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.