Skip to content

Commit 4d1021c

Browse files
addressed feedback
1 parent 571579e commit 4d1021c

File tree

3 files changed

+4
-16
lines changed

3 files changed

+4
-16
lines changed

docs/reference/buildx_history_export.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,10 @@ To export two builds to separate files:
4141

4242
```console
4343
# Using build IDs
44-
docker buildx history export qu2gsuo8ejqrwdfii23xkkckt -o mybuild.dockerbuild
45-
docker buildx history export qsiifiuf1ad9pa9qvppc0z1l3 -o backend-build.dockerbuild
44+
docker buildx history export qu2gsuo8ejqrwdfii23xkkckt qsiifiuf1ad9pa9qvppc0z1l3 -o multi.dockerbuild
4645

4746
# Or using relative offsets
48-
docker buildx history export ^1 -o mybuild.dockerbuild
49-
docker buildx history export ^2 -o backend-build.dockerbuild
47+
docker buildx history export ^1 ^2 -o multi.dockerbuild
5048
```
5149

5250
Or use shell redirection:

docs/reference/buildx_history_logs.md

-10
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,3 @@ $ docker buildx history logs ^1 --progress rawjson
6363
{"id":"buildx_step_1","status":"COMPLETE","timestamp":"2024-05-01T12:34:57.001Z","duration":212000000}
6464
...
6565
```
66-
67-
### <a name="print-logs-tty"></a> Print logs in TTY format
68-
69-
```console
70-
# Using a build ID
71-
docker buildx history logs qu2gsuo8ejqrwdfii23xkkckt --progress tty
72-
73-
# Or using a relative offset
74-
docker buildx history logs ^1 --progress tty
75-
```

docs/reference/buildx_history_trace.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ Compare two specific builds by name:
5959

6060
```console
6161
# Using build IDs
62-
docker buildx history trace --compare qu2gsuo8ejqrwdfii23xkkckt qsiifiuf1ad9pa9qvppc0z1l3
62+
docker buildx history trace --compare=qu2gsuo8ejqrwdfii23xkkckt qsiifiuf1ad9pa9qvppc0z1l3
6363

6464
# Or using a single relative offset
65-
docker buildx history trace --compare ^1
65+
docker buildx history trace --compare=^1
6666
```
6767

6868
When you use a single reference with `--compare`, it compares that build

0 commit comments

Comments
 (0)