V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  programV2  ›  全部回复第 29 页 / 共 77 页
回复总数  1526
1 ... 25  26  27  28  29  30  31  32  33  34 ... 77  
2020-12-02 16:49:52 +08:00
回复了 mashaofeixxx 创建的主题 推广 第三次开车 NUC 黑果套餐 抽一人送三星雷电 3 移动硬盘.
好好睇睇
2020-12-02 16:45:16 +08:00
回复了 programV2 创建的主题 问与答 请问大家是如何让 docker daemon 守护进程不退出的?
@mritd v 友你也是 Ubuntu 16 吗?有个问题想请教一下你,我用 journalctl -u docker.service 进入日志查看想要复制日志,发现日志太长,我在手机上用选中的方式没法全部都复制下来,这种情况有什么命令适合将日志全部复制出来吗?
2020-12-02 16:04:00 +08:00
回复了 programV2 创建的主题 问与答 请问大家是如何让 docker daemon 守护进程不退出的?
@mritd 国外论坛昨晚很多人发帖反馈了,我们论坛里面这么少人用容器吗?怎么都没人反馈呀?我还差点以为是我其他软件出问题了,怎么都想不到是这个?
2020-12-02 15:47:02 +08:00
回复了 programV2 创建的主题 问与答 请问大家是如何让 docker daemon 守护进程不退出的?
@mritd 昨天晚上就已经挂掉了。让我排查一整天。你这样管用吗?我是先把自动升级给关掉了。
@Sasasu 谢谢大佬,请问一下 docker log 日志太长,手机 iOS 无法让我在一个屏幕內复制所有日志內容,因为使用方向键移动之后复制出来的内容只能是当前屏幕内容 , 有什么命令可以方便地复制所有日志內容?

网上搜索到一个 command,但是还是没办法复制到剪切板。
Journalctl -u docker 2>&1 | tee /tmp/cmd.out
You can also run your commands in the script command which will log the output to disk. Or you can: command 2>&1 | tee /tmp/cmd.out to log the output for future investigation in you wanted a (practically) infinite sized output history.

这种方法有人试过吗?
2020-12-02 13:59:31 +08:00
回复了 programV2 创建的主题 程序员 gist 在 github ios app 上不显示
现在 iOS 端网页版修改 gist 都找不到按钮,App 上又没有整合进去。请问大家都是怎么处理?
2020-12-02 11:29:38 +08:00
回复了 programV2 创建的主题 问与答 请问大家是如何让 docker daemon 守护进程不退出的?
Docker info 的output 

Images: 5
Server Version: 18.09.7
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version:
runc version: N/A
init version: v0.18.0 (expected: fec3683b971d9c3ef73f284f176672c44b448662)
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 4.15.0-123-generic
Operating System: Ubuntu 16.04.6 LTS
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1001MiB
Name: xxxx2.localdomain
ID: xx42:xxxx:5JEH:DQ7M:SI6Z:JE5G:ZE75:ZVYI:3FDM:NCXE:DIDP:ELIT
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false

WARNING: No swap limit support
2020-12-02 11:22:27 +08:00
回复了 programV2 创建的主题 问与答 请问大家是如何让 docker daemon 守护进程不退出的?
大家都没碰到过吗?
@sleepm 谢谢大佬! 多次测试发现只有自定义创建的 bridge 才有 dns 解析. 另外想请问您是如何让 docker daemon 守护进程不退出的? 突然收到服务监控通知, 发现 docker 上 4 个容器服务同时挂掉了, journalctl -u docker.service 进入日志查看发现了这个, 该如何排错呢? 另外想请教您现在都在用哪种方法让 docker daemon 守护进程不退出? 谢谢您的指点!

Docker version 18.09.7, build 2d0083d
linux 版本: 4.15.0-123-generic #126~16.04.1-Ubuntu SMP

systemd[1]: Stopping Docker Application Container Engine...

074627-05:00" level=info msg="Processing signal 'terminated'"

049975-05:00" level=info msg="ignoring event" module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"

444047-05:00" level=info msg="ignoring event" module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"

699341-05:00" level=info msg="ignoring event" module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"

441246-05:00" level=info msg="ignoring event" module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"

204594-05:00" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=libcontainerd namespace=moby

664254-05:00" level=info msg="stopping event stream following graceful shutdown" error="context canceled" module=libcontainerd namespace=plugins.moby

systemd[1]: Stopped Docker Application Container Engine.
2020-12-02 10:57:39 +08:00
回复了 mashaofeixxx 创建的主题 推广 继续开车 NUC 黑果套餐 有福利!
来个好运
2020-12-02 10:54:51 +08:00
回复了 programV2 创建的主题 问与答 请问大家是如何让 docker daemon 守护进程不退出的?
后面我用 重启了 docker daemon 进程, 下边是余下的日志:

systemd[1]: Starting Docker Application Container Engine...
3548512-05:00" level=info msg="parsed scheme: \"unix\"" module=grpc
4983202-05:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
5244875-05:00" level=info msg="parsed scheme: \"unix\"" module=grpc
5268345-05:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
6388785-05:00" level=info msg="ccResolverWrapper: sending new addresses to cc: [{unix:///run/containerd/containerd.sock 0 <nil>}]" module=grpc
6429898-05:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
6495301-05:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc4206e0ab0, CONNECTING" module=grpc
7938884-05:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc4206e0ab0, READY" module=grpc
8150455-05:00" level=info msg="ccResolverWrapper: sending new addresses to cc: [{unix:///run/containerd/containerd.sock 0 <nil>}]" module=grpc
8187954-05:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
8245945-05:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc4206e0da0, CONNECTING" module=grpc
8847325-05:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc4206e0da0, READY" module=grpc
5119350-05:00" level=info msg="[graphdriver] using prior storage driver: overlay2"
8117760-05:00" level=info msg="Graph migration to content-addressability took 0.00 seconds"
8433459-05:00" level=warning msg="Your kernel does not support swap memory limit"
8515283-05:00" level=warning msg="Your kernel does not support cgroup rt period"
8529936-05:00" level=warning msg="Your kernel does not support cgroup rt runtime"
9099663-05:00" level=info msg="Loading containers: start."
7191821-05:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address"
3364491-05:00" level=info msg="Loading containers: done."
3809274-05:00" level=warning msg="failed to retrieve runc version: unknown output format: runc version spec: 1.0.1-dev\n"
3797654-05:00" level=info msg="Docker daemon" commit=2d0083d graphdriver(s)=overlay2 version=18.09.7
4010995-05:00" level=info msg="Daemon has completed initialization"
9557408-05:00" level=info msg="API listen on /var/run/docker.sock"
systemd[1]: Started Docker Application Container Engine.
2020-12-01 18:58:04 +08:00
回复了 mashaofeixxx 创建的主题 推广 继续开车 NUC 黑果套餐 有福利!
支持下
2020-12-01 16:37:02 +08:00
回复了 mashaofeixxx 创建的主题 推广 继续开车 NUC 黑果套餐 有福利!
关注你
2020-12-01 14:54:35 +08:00
回复了 moonjoin 创建的主题 Apple 拼多多已经把 m1 MacBook Pro 打到 8499 了
@huijian222 V 友请问你有香港朋友吗?另外香港现在不是关口还没开放吗?
2020-11-29 22:30:15 +08:00
回复了 way2create 创建的主题 信息安全 闲置的云服务器有近 20w 的 sshd 登陆失败的记录
@Caan07 公钥文件可以公开没关系。
2020-11-29 15:57:08 +08:00
回复了 mashaofeixxx 创建的主题 推广 NUC 黑果套餐 继续开车 有福利!
來了
@Sasasu 谢谢你, 我还以为同时按, 另外中间的间隔还要控制很短, 好像几 ms 内, 刚刚试了好几次才成功, 谢谢了
1 ... 25  26  27  28  29  30  31  32  33  34 ... 77  
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   981 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 98ms · UTC 19:58 · PVG 03:58 · LAX 12:58 · JFK 15:58
Developed with CodeLauncher
♥ Do have faith in what you're doing.