-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcoverage.html
More file actions
1981 lines (1948 loc) · 68.2 KB
/
coverage.html
File metadata and controls
1981 lines (1948 loc) · 68.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Container-Compose · compose-spec coverage</title>
<style>
:root {
--bg: #0e1116;
--panel: #161b22;
--panel-2: #1c232c;
--border: #2a313c;
--text: #e6edf3;
--muted: #9ba9b6;
--accent: #58a6ff;
--good: #2ea043;
--good-bg: rgba(46,160,67,.12);
--warn: #d29922;
--warn-bg: rgba(210,153,34,.14);
--bad: #f85149;
--bad-bg: rgba(248,81,73,.14);
--neutral: #6e7681;
}
@media (prefers-color-scheme: light) {
:root {
--bg: #f6f8fa;
--panel: #ffffff;
--panel-2: #f0f3f6;
--border: #d0d7de;
--text: #1f2328;
--muted: #57606a;
--accent: #0969da;
--good: #1a7f37;
--good-bg: rgba(26,127,55,.12);
--warn: #9a6700;
--warn-bg: rgba(154,103,0,.14);
--bad: #cf222e;
--bad-bg: rgba(207,34,46,.10);
--neutral: #6e7681;
}
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text);
font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
header {
padding: 28px 32px 12px; border-bottom: 1px solid var(--border);
background: linear-gradient(180deg, var(--panel) 0%, var(--bg) 100%);
}
header h1 { margin: 0 0 4px; font-size: 22px; letter-spacing: -.01em; }
header .sub { color: var(--muted); font-size: 13px; }
header nav { margin-top: 14px; display: flex; gap: 18px; flex-wrap: wrap; }
header nav a { font-size: 13px; }
main { padding: 24px 32px 60px; max-width: 1280px; margin: 0 auto; }
.summary { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
gap: 12px; margin-bottom: 24px; }
.stat {
background: var(--panel); border: 1px solid var(--border); border-radius: 8px;
padding: 14px 16px;
}
.stat .label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
color: var(--muted); }
.stat .value { font-size: 22px; font-weight: 600; margin-top: 4px; }
.stat .pct { font-size: 12px; color: var(--muted); margin-top: 2px; }
.controls {
display: flex; gap: 8px 16px; flex-wrap: wrap; align-items: center;
background: var(--panel); border: 1px solid var(--border); border-radius: 8px;
padding: 10px 14px; margin-bottom: 14px;
}
.controls .group { display: flex; gap: 6px; align-items: center; }
.controls .group span.lbl { font-size: 11px; color: var(--muted);
text-transform: uppercase; letter-spacing: .08em; margin-right: 2px; }
.chip {
background: transparent; color: var(--text);
border: 1px solid var(--border); padding: 4px 10px; border-radius: 999px;
font-size: 12px; cursor: pointer; user-select: none;
}
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--accent); color: white;
border-color: var(--accent); }
.controls input[type="search"] {
background: var(--bg); color: var(--text); border: 1px solid var(--border);
border-radius: 6px; padding: 6px 10px; font: inherit; min-width: 220px; flex: 1;
}
.group-section { margin-top: 28px; }
.group-section h2 {
font-size: 16px; margin: 0 0 8px; display: flex; align-items: baseline; gap: 10px;
}
.group-section h2 .meta {
font-size: 12px; color: var(--muted); font-weight: 400;
}
.group-section .note {
color: var(--muted); font-size: 12px; margin-bottom: 8px;
}
table {
width: 100%; border-collapse: separate; border-spacing: 0;
background: var(--panel); border: 1px solid var(--border); border-radius: 8px;
overflow: hidden;
}
th, td {
text-align: left; padding: 9px 12px; font-size: 13px;
border-bottom: 1px solid var(--border); vertical-align: middle;
}
th {
background: var(--panel-2); color: var(--muted);
font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .06em;
cursor: pointer; user-select: none;
}
th[data-sort]::after { content: " ↕"; color: var(--neutral); font-size: 10px; }
th.sorted-asc::after { content: " ↑"; color: var(--accent); }
th.sorted-desc::after { content: " ↓"; color: var(--accent); }
tr:last-child td { border-bottom: none; }
tbody tr.coverage-row:hover { background: var(--panel-2); }
tbody tr.coverage-row.drillable { cursor: pointer; }
tbody tr.coverage-row.drillable:focus-visible {
outline: 2px solid var(--accent); outline-offset: -2px;
}
tbody tr.coverage-row.open { background: var(--panel-2); }
tbody tr.coverage-row.open td { border-bottom-color: transparent; }
td.feature { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
font-size: 12.5px; }
.feature-wrap { display: flex; align-items: center; gap: 8px; }
.drill-cue {
width: 18px; height: 18px; border: 1px solid var(--border); border-radius: 50%;
display: inline-flex; align-items: center; justify-content: center;
color: var(--muted); font: 11px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
transition: border-color .16s ease, color .16s ease, transform .16s ease;
flex: 0 0 auto;
}
tr.drillable:hover .drill-cue,
tr.drillable.open .drill-cue { border-color: var(--accent); color: var(--accent); }
tr.drillable.open .drill-cue { transform: rotate(90deg); }
td.notes { color: var(--muted); font-size: 12px; max-width: 480px; }
.detail-row { display: none; background: linear-gradient(180deg, var(--panel-2), var(--panel)); }
.detail-row.open { display: table-row; }
.detail-cell { padding: 0 12px 14px 42px; border-bottom: 1px solid var(--border); }
.detail-panel {
border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
background: var(--panel); box-shadow: 0 14px 32px rgba(0,0,0,.18);
}
.detail-head {
display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
padding: 12px 14px; background: var(--panel-2); border-bottom: 1px solid var(--border);
}
.detail-title { font-weight: 700; letter-spacing: -.01em; }
.detail-kicker { color: var(--muted); font-size: 12px; margin-left: auto; }
.detail-grid {
display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 0; border-top: 0;
}
.detail-card { padding: 14px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.detail-card:nth-child(4n) { border-right: none; }
.detail-card h3 {
margin: 0 0 7px; color: var(--muted); font-size: 11px;
text-transform: uppercase; letter-spacing: .08em;
}
.detail-card p { margin: 0; color: var(--text); font-size: 13px; }
.detail-card ul { margin: 0; padding-left: 18px; color: var(--text); }
.detail-card li { margin: 3px 0; }
.detail-card code,
.anchor-chip {
background: var(--panel-2); border: 1px solid var(--border); border-radius: 5px;
padding: 1px 5px; font: 12px/1.6 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
.anchor-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.drilldown-hint {
color: var(--muted); font-size: 12px; margin: -4px 0 16px;
}
.pill {
display: inline-block; padding: 2px 9px; border-radius: 999px;
font-size: 11px; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
}
.pill.ok { color: var(--good); background: var(--good-bg); }
.pill.partial { color: var(--warn); background: var(--warn-bg); }
.pill.miss { color: var(--bad); background: var(--bad-bg); }
.bar {
display: inline-block; width: 96px; height: 8px; background: var(--panel-2);
border-radius: 4px; overflow: hidden; vertical-align: middle; margin-right: 8px;
}
.bar > span { display: block; height: 100%; float: left; }
.bar .ok { background: var(--good); }
.bar .partial { background: var(--warn); }
footer {
color: var(--muted); font-size: 12px; padding: 24px 32px;
border-top: 1px solid var(--border); text-align: center;
}
.empty { padding: 32px; text-align: center; color: var(--muted); display: none; }
.empty.shown { display: block; }
.anchor-callout {
background: var(--panel); border: 1px solid var(--border);
border-left: 3px solid var(--accent); border-radius: 6px;
padding: 12px 16px; margin: 0 0 18px; font-size: 13px;
}
.anchor-callout strong { color: var(--accent); }
.anchor-callout code {
background: var(--panel-2); padding: 1px 5px; border-radius: 4px;
font-size: 12px;
}
#download-json { font-size: 12px; color: var(--accent); margin-left: auto; }
</style>
</head>
<body>
<header>
<h1>Container-Compose · compose-spec coverage</h1>
<div class="sub">
Feature-by-feature compliance audit of <code>Container-Compose</code> against
<a href="https://github.com/compose-spec/compose-go/blob/main/schema/compose-spec.json">compose-spec.json</a>.
Anchored on <a href="https://github.com/compose-spec/compose-go/blob/main/schema/compose-spec.json#L277-L310"><code>depends_on</code> (L277-L310)</a>.
</div>
<nav>
<a href="https://github.com/Mcrich23/Container-Compose">Repository</a>
<a href="./AGENTS.md">AGENTS.md</a>
<a href="https://github.com/compose-spec/compose-spec/blob/main/spec.md">Compose-spec docs</a>
<a href="https://github.com/apple/container">Apple Container</a>
</nav>
</header>
<main>
<div class="anchor-callout">
<strong>Anchor section: <code>depends_on</code> (compose-spec.json L277-L310)</strong>
Schema accepts either a list of service names or an object map with
<code>condition</code> ∈ {<code>service_started</code>, <code>service_healthy</code>,
<code>service_completed_successfully</code>}, <code>required</code> (bool),
<code>restart</code> (bool|string).
Container-Compose supports list and object forms, including condition gates for started,
healthy, and completed-successfully dependencies; click the rows below for implementation anchors.
</div>
<div class="summary" id="summary"></div>
<div class="controls" id="controls">
<div class="group">
<span class="lbl">Status</span>
<button class="chip" data-filter="status" data-value="all" aria-pressed="true">All</button>
<button class="chip" data-filter="status" data-value="ok">Implemented</button>
<button class="chip" data-filter="status" data-value="partial">Partial</button>
<button class="chip" data-filter="status" data-value="miss">Missing</button>
</div>
<div class="group">
<span class="lbl">Tested</span>
<button class="chip" data-filter="tested" data-value="all" aria-pressed="true">Any</button>
<button class="chip" data-filter="tested" data-value="yes">Yes</button>
<button class="chip" data-filter="tested" data-value="no">No</button>
</div>
<input id="search" type="search" placeholder="Search feature, notes…" autocomplete="off" />
</div>
<div class="drilldown-hint">Click any feature row to drill into what works, where it is implemented, and what remains for Compose parity.</div>
<div id="groups"></div>
<div class="empty" id="empty">No features match the current filter.</div>
</main>
<footer>
Container-Compose · MIT License · Generated <span id="ts"></span>
</footer>
<script id="coverage-data" type="application/json">
{
"anchor": "compose-spec.json#L277-L310",
"groups": [
{
"id": "depends_on",
"title": "depends_on (anchor \u2014 compose-spec.json L277-L310)",
"note": "User-anchored section. List/object forms and condition gates are wired end-to-end.",
"rows": [
[
"shm_size",
"partial",
"yes",
"Decoded; emits --shm-size, but upstream apple/container does not accept this flag (silent failure if set). Tier 0 cleanup tracked in CHAOS-1375."
],
[
"depends_on (object form)",
"ok",
"yes",
"DependsOn type accepts list/single/object form. Service.dependsOn: DependsOn?."
],
[
"condition: service_started",
"ok",
"yes",
"waitForCondition(.serviceStarted) gates dependents in configService."
],
[
"condition: service_healthy",
"ok",
"yes",
"Honored at the gate; checks container.health == .healthy via fork-patched full-chaos/container (CHAOS-1319, ContainerSnapshot.health field). Falls back to .running if no healthcheck is configured. Upstream apple/container does not yet expose health on snapshots."
],
[
"condition: service_completed_successfully",
"ok",
"yes",
"Honored at the gate; verifies snapshot.lastExitCode == 0 via fork-patched full-chaos/container (CHAOS-1320). Throws ComposeWaitError.nonZeroExitCode on non-zero exit. Falls back to .stopped-only on upstream apple/container (which does not expose lastExitCode)."
],
[
"required (bool, default true)",
"ok",
"yes",
"DependsOnEntry.required gates whether errors propagate or are warned."
],
[
"restart (bool|string)",
"ok",
"yes",
"Parsed on DependsOnEntry. Restart policy now emitted as --restart flag via fork-patched container run support."
]
]
},
{
"id": "top",
"title": "Top-level Compose keys",
"note": "Fields directly under the compose-file root.",
"rows": [
[
"version",
"ok",
"yes",
"Decoded; logged but otherwise ignored at runtime."
],
[
"name",
"ok",
"yes",
"Used as project prefix for container names."
],
[
"services",
"ok",
"yes",
"[String: Service?] map; service-by-service orchestration in ComposeUp."
],
[
"networks",
"ok",
"yes",
"ServiceNetworks supports list and object forms with aliases, ipv4_address, ipv6_address, mac_address, priority."
],
[
"volumes",
"ok",
"yes",
"Implemented via runtime volume CRUD (CHAOS-1368, PR #85). Local-driver volumes use `container volume create` registry; `container run -v <name>:<path>` resolves named volumes via apple/container's `Parser.volume(...)`. driver_opts and labels propagate to runtime. Legacy hardlink-dir data migrated on first use without deletion. Non-`local` drivers warn-and-skip with a clearer fallback notice."
],
[
"secrets",
"ok",
"yes",
"ConfigsSecretsArgs.build emits -v <hostFile>:/run/secrets/<source> (default target) per service.secrets entry."
],
[
"configs",
"ok",
"yes",
"ConfigsSecretsArgs.build emits -v <hostFile>:<target> per service.configs entry; uid/gid/mode parsed but not enforced via -v."
],
[
"include",
"ok",
"yes",
"DockerCompose.loadAndMerge resolves includes recursively with cycle protection."
],
[
"models",
"partial",
"yes",
"Decoded as top-level Model definitions; compose up warn-skips because AI model provisioning is not wired to Apple container."
]
]
},
{
"id": "service",
"title": "Service properties (89 in spec)",
"note": "Implemented at parse-and-runtime, parse-only, or unmodeled.",
"rows": [
[
"image",
"ok",
"yes",
"Pulled via ClientImage.list / ImagePull before running."
],
[
"build",
"ok",
"yes",
"Build struct (context, dockerfile, args). Routed to Application.BuildCommand."
],
[
"command",
"ok",
"yes",
"Accepts string or [String]; appended after image in argv."
],
[
"container_name",
"ok",
"yes",
"Overrides default <project>-<service>."
],
[
"depends_on",
"ok",
"yes",
"List and object forms are decoded through DependsOn; condition/required/restart semantics are covered in the anchor section above."
],
[
"deploy",
"partial",
"yes",
"Parsed; only deploy.resources.limits.cpus/memory honored at runtime."
],
[
"entrypoint",
"ok",
"yes",
"Accepts string or [String]; passed via --entrypoint."
],
[
"env_file",
"ok",
"yes",
"List of paths; loaded via loadEnvFile() and merged."
],
[
"environment",
"ok",
"yes",
"Map; ${VAR} substitution; running container IPs replace bare service-name values."
],
[
"healthcheck",
"partial",
"yes",
"Parsed (test/interval/timeout/retries/start_period). Not enforced \u2014 startup never waits on healthy state."
],
[
"hostname",
"ok",
"yes",
"--hostname applied; ${VAR} resolved."
],
[
"platform",
"ok",
"yes",
"--platform applied; split into --os/--arch for builds."
],
[
"ports",
"ok",
"yes",
"Parsed via composePortToRunArg; supports IPv4/IPv6, protocol, host:container."
],
[
"privileged",
"ok",
"yes",
"Adds --privileged."
],
[
"read_only",
"ok",
"yes",
"Adds --read-only."
],
[
"restart",
"ok",
"yes",
"Decoded and applied; emits --restart flag via fork-patched full-chaos/container (CHAOS-1321). Upstream apple/container does not yet have --restart — would be a Tier 0 silent failure if fork is dropped. Upstream FR tracked in CHAOS-1385."
],
[
"stdin_open",
"ok",
"yes",
"Adds -i flag."
],
[
"tty",
"ok",
"yes",
"Adds -t flag."
],
[
"user",
"ok",
"yes",
"Adds --user."
],
[
"volumes",
"ok",
"yes",
"[String] of source:dest[:mode]; bind mounts created if missing."
],
[
"working_dir",
"ok",
"yes",
"Adds --workdir."
],
[
"configs",
"ok",
"yes",
"ConfigsSecretsArgs.build emits -v <hostFile>:<target> per service.configs entry; uid/gid/mode parsed but not enforced via -v."
],
[
"secrets",
"ok",
"yes",
"ConfigsSecretsArgs.build emits -v <hostFile>:/run/secrets/<source> (default target) per service.secrets entry."
],
[
"networks",
"partial",
"yes",
"ServiceNetworks supports list and object forms with aliases, ipv4_address, ipv6_address, mac_address, priority; service-level aliases are parsed but ignored at runtime with a warning because Apple container does not support --alias."
],
[
"annotations",
"miss",
"yes",
"Decoded; warn-and-skip — labels variant; no apple/container equivalent."
],
[
"attach",
"miss",
"yes",
"Decoded; warn-and-skip — Docker attach mode; no apple/container equivalent."
],
[
"blkio_config",
"partial",
"yes",
"Decoded (BlkioConfig.swift); emits --blkio-weight / --blkio-weight-device / --device-{read,write}-{bps,iops}, but upstream apple/container does not accept these flags (silent failure if set). Tier 0 cleanup tracked in CHAOS-1376; upstream FR in CHAOS-1380."
],
[
"cap_add",
"ok",
"yes",
"SecurityArgs.build emits --cap-add per item."
],
[
"cap_drop",
"ok",
"yes",
"SecurityArgs.build emits --cap-drop per item."
],
[
"cgroup",
"miss",
"yes",
"Decoded; warn-and-skip — Linux cgroup config; no apple/container equivalent."
],
[
"cgroup_parent",
"miss",
"yes",
"Decoded; warn-and-skip — Linux cgroup config; no apple/container equivalent."
],
[
"cpu_count",
"partial",
"yes",
"Decoded; emits --cpu-count, but upstream apple/container does not accept this flag (silent failure if set). Tier 0 cleanup tracked in CHAOS-1375."
],
[
"cpu_percent",
"partial",
"yes",
"Decoded; emits --cpu-percent, but upstream apple/container does not accept this flag (silent failure if set). Tier 0 cleanup tracked in CHAOS-1375."
],
[
"cpu_period",
"partial",
"yes",
"Decoded; emits --cpu-period, but upstream apple/container does not accept this flag (silent failure if set). Tier 0 cleanup tracked in CHAOS-1375."
],
[
"cpu_quota",
"partial",
"yes",
"Decoded; emits --cpu-quota, but upstream apple/container does not accept this flag (silent failure if set). Tier 0 cleanup tracked in CHAOS-1375."
],
[
"cpu_rt_period",
"partial",
"yes",
"Decoded; emits --cpu-rt-period, but upstream apple/container does not accept this flag (silent failure if set). Tier 0 cleanup tracked in CHAOS-1375."
],
[
"cpu_rt_runtime",
"partial",
"yes",
"Decoded; emits --cpu-rt-runtime, but upstream apple/container does not accept this flag (silent failure if set). Tier 0 cleanup tracked in CHAOS-1375."
],
[
"cpu_shares",
"partial",
"yes",
"Decoded; emits --cpu-shares, but upstream apple/container does not accept this flag (silent failure if set). Tier 0 cleanup tracked in CHAOS-1375."
],
[
"cpus",
"ok",
"yes",
"Top-level service.cpus \u2192 --cpus; falls back to deploy.resources.limits.cpus."
],
[
"cpuset",
"partial",
"yes",
"Decoded; emits --cpuset-cpus, but upstream apple/container does not accept this flag (silent failure if set). Tier 0 cleanup tracked in CHAOS-1375."
],
[
"credential_spec",
"miss",
"yes",
"Decoded; warn-and-skip — Windows-only; no apple/container equivalent."
],
[
"develop",
"ok",
"yes",
"Develop schema parsed; compose watch implements polling-based watcher with sync/rebuild/restart actions."
],
[
"device_cgroup_rules",
"miss",
"yes",
"Decoded; warn-and-skip — Linux cgroup rules; no apple/container equivalent."
],
[
"devices",
"partial",
"yes",
"Decoded; emits --device, but upstream apple/container does not accept this flag (silent failure if set). Tier 0 cleanup tracked in CHAOS-1373."
],
[
"dns",
"ok",
"yes",
"NetworkingArgs emits --dns per item with ${VAR} substitution."
],
[
"dns_opt",
"ok",
"yes",
"NetworkingArgs emits --dns-option per item."
],
[
"dns_search",
"ok",
"yes",
"NetworkingArgs emits --dns-search per item."
],
[
"domainname",
"ok",
"yes",
"NetworkingArgs emits --domainname."
],
[
"expose",
"ok",
"yes",
"NetworkingArgs emits --expose per item."
],
[
"extends",
"ok",
"yes",
"DockerCompose.resolvingExtends() resolves at parse time with cycle detection (same-file)."
],
[
"external_links",
"miss",
"no",
""
],
[
"extra_hosts",
"partial",
"yes",
"Parsed; map form serialized to host:ip, but ignored at runtime with a warning because Apple container does not support --add-host."
],
[
"gpus",
"partial",
"yes",
"Decoded (Gpus.swift); emits --gpus, but upstream apple/container does not accept this flag (silent failure if set). Tier 0 cleanup tracked in CHAOS-1376; upstream FR in CHAOS-1379."
],
[
"group_add",
"ok",
"yes",
"SecurityArgs.build emits --group-add per item."
],
[
"init",
"ok",
"yes",
"LifecycleArgs emits --init when true."
],
[
"ipc",
"partial",
"yes",
"Decoded; emits --ipc, but upstream apple/container does not accept this flag (silent failure if set). Tier 0 cleanup tracked in CHAOS-1372."
],
[
"isolation",
"miss",
"yes",
"Decoded; warn-and-skip — Windows-only; no apple/container equivalent."
],
[
"label_file",
"miss",
"yes",
"Decoded; warn-and-skip — file-based labels; no apple/container equivalent."
],
[
"labels",
"ok",
"yes",
"LabelsArgs emits --label k=v per entry."
],
[
"links",
"miss",
"no",
"(deprecated in compose-spec)"
],
[
"logging",
"partial",
"yes",
"logging.driver and logging.options are parsed but ignored at runtime with warnings because Apple container does not support --log-driver or --log-opt."
],
[
"mac_address",
"partial",
"yes",
"Decoded; emits standalone --mac-address, but upstream apple/container only accepts mac= inside the --network <name>,mac=... syntax (silent failure if set as standalone). Tier 0 cleanup tracked in CHAOS-1374."
],
[
"mem_limit",
"ok",
"yes",
"Top-level service.mem_limit \u2192 --memory; overrides deploy.resources.limits.memory."
],
[
"mem_reservation",
"partial",
"yes",
"Decoded; emits --memory-reservation, but upstream apple/container does not accept this flag (silent failure if set). Tier 0 cleanup tracked in CHAOS-1375."
],
[
"mem_swappiness",
"partial",
"yes",
"Decoded; emits --memory-swappiness, but upstream apple/container does not accept this flag (silent failure if set). Tier 0 cleanup tracked in CHAOS-1375."
],
[
"memswap_limit",
"partial",
"yes",
"Decoded; emits --memory-swap, but upstream apple/container does not accept this flag (silent failure if set). Tier 0 cleanup tracked in CHAOS-1375."
],
[
"models",
"partial",
"yes",
"Decoded as service model references; compose up warn-skips because AI model provisioning is not wired to Apple container."
],
[
"network_mode",
"ok",
"yes",
"NetworkingArgs emits --network MODE."
],
[
"oom_kill_disable",
"partial",
"yes",
"Decoded; emits --oom-kill-disable, but upstream apple/container does not accept this flag (silent failure if set). Tier 0 cleanup tracked in CHAOS-1375."
],
[
"oom_score_adj",
"partial",
"yes",
"Decoded; emits --oom-score-adj, but upstream apple/container does not accept this flag (silent failure if set). Tier 0 cleanup tracked in CHAOS-1375."
],
[
"pid",
"partial",
"yes",
"Decoded; emits --pid, but upstream apple/container does not accept this flag (silent failure if set). Tier 0 cleanup tracked in CHAOS-1372."
],
[
"pids_limit",
"partial",
"yes",
"Decoded; emits --pids-limit, but upstream apple/container does not accept this flag (silent failure if set). Tier 0 cleanup tracked in CHAOS-1375."
],
[
"post_start",
"miss",
"yes",
"Decoded; warn-and-skip — lifecycle hook; no apple/container equivalent."
],
[
"pre_stop",
"miss",
"yes",
"Decoded; warn-and-skip — lifecycle hook; no apple/container equivalent."
],
[
"profiles",
"ok",
"yes",
"Service.filterByProfiles filters services in up/down/build/etc; --profile flag + COMPOSE_PROFILES env."
],
[
"provider",
"partial",
"yes",
"Decoded as external provider config; compose up warn-skips because provider lifecycle wiring is not implemented."
],
[
"pull_policy",
"ok",
"yes",
"Routed through pullImage with always/never/build/missing branches."
],
[
"pull_refresh_after",
"miss",
"yes",
"Decoded; warn-and-skip — pull-policy timing; no apple/container equivalent."
],
[
"runtime",
"ok",
"yes",
"LifecycleArgs emits --runtime."
],
[
"scale",
"ok",
"yes",
"ComposeUp expands services with scale > 1 into <name>-1, <name>-2, ... -N replicas."
],
[
"security_opt",
"partial",
"yes",
"Decoded; emits --security-opt, but upstream apple/container does not accept this flag (silent failure if set). Tier 0 cleanup tracked in CHAOS-1371."
],
[
"shm_size",
"ok",
"yes",
"ResourceArgs emits --shm-size."
],
[
"stop_grace_period",
"ok",
"yes",
"LifecycleArgs parses Go-duration format \u2192 --stop-timeout."
],
[
"stop_signal",
"ok",
"yes",
"LifecycleArgs emits --stop-signal."
],
[
"storage_opt",
"miss",
"yes",
"Decoded; warn-and-skip — Linux storage opts; no apple/container equivalent."
],
[
"sysctls",
"partial",
"yes",
"Decoded; emits --sysctl key=value, but upstream apple/container does not accept this flag (silent failure if set). Tier 0 cleanup tracked in CHAOS-1373."
],
[
"tmpfs",
"ok",
"yes",
"StorageArgs emits --tmpfs per item."
],
[
"ulimits",
"ok",
"yes",
"Service.ulimits decoded as [String: Ulimit]? (scalar Int and {soft,hard} forms). ResourceArgs emits sorted --ulimit name=value (or soft:hard) per entry."
],
[
"use_api_socket",
"miss",
"yes",
"Decoded; warn-and-skip — Docker API socket forwarding; no apple/container equivalent."
],
[
"userns_mode",
"partial",
"yes",
"Decoded; emits --userns, but upstream apple/container does not accept this flag (silent failure if set). Tier 0 cleanup tracked in CHAOS-1371."
],
[
"uts",
"partial",
"yes",
"Decoded; emits --uts, but upstream apple/container does not accept this flag (silent failure if set). Tier 0 cleanup tracked in CHAOS-1372."
],
[
"volumes_from",
"miss",
"yes",
"Decoded; warn-and-skip — deprecated; no apple/container equivalent."
],
[
"volumes (named-volume short form)",
"ok",
"yes",
"Compose `service.volumes: [name:/path]` (no slash in source) routed through `RuntimeVolumeClient` (CHAOS-1368, PR #85). apple/container's `Parser.volume(...)` resolves bare-name sources via the volume registry — Phase 0 source audit GREEN. Legacy `~/.containers/Volumes/<project>/<name>/` data migrated on first use without deletion."
],
[
"networks.<n>.ipv4_address",
"partial",
"yes",
"Decoded on ServiceNetworkConfig; emits --ip, but upstream apple/container does not accept this flag (only --network <name>,mac=...,mtu=... is supported). Silent failure if set. Tier 0 cleanup tracked in CHAOS-1374."
],
[
"networks.<n>.ipv6_address",
"partial",
"yes",
"Decoded on ServiceNetworkConfig; emits --ip6, but upstream apple/container does not accept this flag (silent failure if set). Tier 0 cleanup tracked in CHAOS-1374."
]
]
},
{
"id": "build",
"title": "Service.build sub-properties",
"rows": [
[
"context",
"ok",
"yes",
"Resolved relative to compose file directory."
],
[
"dockerfile",
"ok",
"yes",
"Defaults to ./Dockerfile if absent."
],
[
"args",
"ok",
"yes",
"Map; ${VAR} substitution applied."
],
[
"dockerfile_inline",
"ok",
"yes",
"Inline content written to a temp file and passed via --file; cleaned up via defer."
],
[
"entitlements",
"partial",
"yes",
"Decoded; warn-and-skip at build time — Application.BuildCommand has no --allow flag equivalent."
],
[
"cache_from",
"ok",
"yes",
"buildService emits --cache-from per item; runtime may reject."
],
[
"cache_to",
"ok",
"yes",
"buildService emits --cache-to per item; runtime may reject."
],
[
"labels",
"ok",
"yes",
"LabelsArgs emits --label k=v per entry."
],