File tree Expand file tree Collapse file tree 5 files changed +29
-11
lines changed Expand file tree Collapse file tree 5 files changed +29
-11
lines changed Original file line number Diff line number Diff line change @@ -67,12 +67,12 @@ index 5226249b..6de7f682 100644
67
67
68
68
```
69
69
Dec 18 10:39:21 ww systemd[715]: Stopping graph...
70
- Dec 18 10:39:21 ww atlasd [1518986]: 2021-12-18 10:39:21.588323 INFO atlasd : Signal SIGTERM received, stopping this daemon server
71
- Dec 18 10:39:21 ww atlasd [1518986]: 2021-12-18 10:39:21.588408 INFO server::graph: Prepare to stop graph server
72
- Dec 18 10:39:21 ww atlasd [1518986]: 2021-12-18 10:39:21.588744 INFO start_prometheus_exporter{ip=0.0.0.0 port=19100 instance_kind=Graph}:prometheus_exporter(accept): common::metrics::prome>
73
- Dec 18 10:39:21 ww atlasd [1518986]: 2021-12-18 10:39:21.588830 INFO web::server: graceful shutdown web server
70
+ Dec 18 10:39:21 ww appd [1518986]: 2021-12-18 10:39:21.588323 INFO appd : Signal SIGTERM received, stopping this daemon server
71
+ Dec 18 10:39:21 ww appd [1518986]: 2021-12-18 10:39:21.588408 INFO server::graph: Prepare to stop graph server
72
+ Dec 18 10:39:21 ww appd [1518986]: 2021-12-18 10:39:21.588744 INFO start_prometheus_exporter{ip=0.0.0.0 port=19100 instance_kind=Graph}:prometheus_exporter(accept): common::metrics::prome>
73
+ Dec 18 10:39:21 ww appd [1518986]: 2021-12-18 10:39:21.588830 INFO web::server: graceful shutdown web server
74
74
Dec 18 10:40:51 ww systemd[715]: graph.service: State 'stop-sigterm' timed out. Killing.
75
- Dec 18 10:40:51 ww systemd[715]: graph.service: Killing process 1518986 (atlasd ) with signal SIGKILL.
75
+ Dec 18 10:40:51 ww systemd[715]: graph.service: Killing process 1518986 (appd ) with signal SIGKILL.
76
76
Dec 18 10:40:51 ww systemd[715]: graph.service: Killing process 1518988 (tokio-runtime-w) with signal SIGKILL.
77
77
Dec 18 10:40:51 ww systemd[715]: graph.service: Killing process 1518989 (tokio-runtime-w) with signal SIGKILL.
78
78
Dec 18 10:40:51 ww systemd[715]: graph.service: Killing process 1518993 (tokio-runtime-w) with signal SIGKILL.
Original file line number Diff line number Diff line change @@ -57,18 +57,18 @@ openssl-sys v0.9.72
57
57
├── native-tls v0.2.8
58
58
│ ├── hyper-tls v0.5.0
59
59
│ │ └── reqwest v0.11.7
60
- │ │ └── web v0.1.0 (/home/w/repos/haizhi/atlas /src/web)
61
- │ │ └── server v0.1.0 (/home/w/repos/haizhi/atlas /src/server)
60
+ │ │ └── web v0.1.0 (/home/w/repos/company/app /src/web)
61
+ │ │ └── server v0.1.0 (/home/w/repos/company/app /src/server)
62
62
│ │ [dev-dependencies]
63
- │ │ └── web v0.1.0 (/home/w/repos/haizhi/atlas /src/web) (*)
63
+ │ │ └── web v0.1.0 (/home/w/repos/company/app /src/web) (*)
64
64
│ ├── reqwest v0.11.7 (*)
65
65
│ └── tokio-native-tls v0.3.0
66
66
│ ├── hyper-tls v0.5.0 (*)
67
67
│ └── reqwest v0.11.7 (*)
68
68
└── openssl v0.10.38
69
69
├── native-tls v0.2.8 (*)
70
70
└── osshkeys v0.5.2
71
- ├── common v0.1.0 (/home/w/repos/haizhi/atlas /src/common)
71
+ ├── common v0.1.0 (/home/w/repos/company/app /src/common)
72
72
...
73
73
```
74
74
Original file line number Diff line number Diff line change
1
+ # [ docker --progress=plain] ( /2022/07/docker_build_progress_plain.md )
2
+
3
+ 自从启用 buildkit 之后 docker build 的进度条就变成固定高度滚动更新的内容
4
+
5
+ ```
6
+ cat /etc/docker/daemon.json
7
+ {
8
+ "features": { "buildkit": true }
9
+ }
10
+ ```
11
+
12
+ 导致运行到 STEP 6 的时候看不到 STEP 5 的 stdout,没开 buildkit 的时候 dockerfile 代码会打成白色而 stdout/stderr 打成红色
13
+
14
+ 今天才发现 docker build 加上 ** --progress=plain** 参数可以保留所有 STEP 的所有输出
Original file line number Diff line number Diff line change 1
- # [ container illegal instr] ( /2022/07/docker_container_core_dumped_illegal_instruction.md )
1
+ # [ docker illegal instr] ( /2022/07/docker_container_core_dumped_illegal_instruction.md )
2
2
3
3
```
4
4
https://twitter.com/ospopen/status/1544970889925885952
@@ -11,6 +11,9 @@ illegal instruction (core dumped)
11
11
看来还是高版本 glibc 编译出来的可执行文件不能在低版本系统运行的限制
12
12
```
13
13
14
+ 但我觉得是 fedora:36 的 glibc 2.35 发生了一些不兼容改动吧,
15
+ 毕竟公司生产服务器上宿主机 centos7 常年跑 centos8/ubuntu:20.04 的应用也没问题
16
+
14
17
容器内没有捕获 coredump 的话,coredump 会记录在宿主机的 dmesg
15
18
16
19
```
Original file line number Diff line number Diff line change 1
1
- [ 文章列表 - 吴翱翔的博客] ( / )
2
2
- ** 2022-07**
3
- - [ container illegal instr] ( /2022/07/docker_container_core_dumped_illegal_instruction.md )
3
+ - [ docker --progress=plain] ( /2022/07/docker_build_progress_plain.md )
4
+ - [ docker illegal instr] ( /2022/07/docker_container_core_dumped_illegal_instruction.md )
4
5
- ** 2022-06**
5
6
- [ arch pip TypeError] ( /2022/06/arch_pip_fail_after_system_upgrade.md )
6
7
- [ /bin/timeout] ( /2022/06/bin_timeout.md )
You can’t perform that action at this time.
0 commit comments