Open
Open
Enhancement
Description
Description
I saw this some time back, but forgot "where", and I just can an example and now now where I saw it 😄
When running a docker build
, but not setting a tag (no -t
/ --tag
), the build progress shows moby-dangling@sha256...
in the output.
For example:
docker build -<<'EOF'
# syntax=docker/dockerfile:1
FROM busybox
RUN echo hello
EOF
Shows:
[+] Building 4.3s (8/8) FINISHED docker:desktop-linux
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 94B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> resolve image config for docker.io/docker/dockerfile:1 2.1s
=> CACHED docker-image://docker.io/docker/dockerfile:1@sha256:39b85bbfa7536a5feceb7372a0817649ecb2724562a38360f4d6a7782a409b14 0.0s
=> => resolve docker.io/docker/dockerfile:1@sha256:39b85bbfa7536a5feceb7372a0817649ecb2724562a38360f4d6a7782a409b14 0.0s
=> [internal] load metadata for docker.io/library/busybox:latest 1.1s
=> CACHED [1/2] FROM docker.io/library/busybox@sha256:3fbc632167424a6d997e74f52b878d7cc478225cffac6bc977eedfe51c7f4e79 0.0s
=> => resolve docker.io/library/busybox@sha256:3fbc632167424a6d997e74f52b878d7cc478225cffac6bc977eedfe51c7f4e79 0.0s
=> [2/2] RUN echo hello 0.7s
=> exporting to image 0.1s
=> => exporting layers 0.1s
=> => exporting manifest sha256:31e23409c78fa53607729b968c6f1af93b4dfb65fc15d64d08b1a589eda8adb0 0.0s
=> => exporting config sha256:fd125d213f1db457d9491daa6cdc418624df26828ebef79ceca4656417c28446 0.0s
=> => exporting attestation manifest sha256:479e4952365bbf05e9373609dd7e36ca1426924171ab0962bc12f981b9742b73 0.0s
=> => exporting manifest list sha256:c87125196876d6dc33c62d0ba365889634ec41643aea68cf94f567026da17c81 0.0s
=> => naming to moby-dangling@sha256:c87125196876d6dc33c62d0ba365889634ec41643aea68cf94f567026da17c81 0.0s
=> => unpacking to moby-dangling@sha256:c87125196876d6dc33c62d0ba365889634ec41643aea68cf94f567026da17c81 0.0s
Notice the naming to
in the output;
=> => naming to moby-dangling@sha256:c87125196876d6dc33c62d0ba365889634ec41643aea68cf94f567026da17c81 0.0s
We should look if we can clean up the output to strip the "naming to" and removing the moby-dangling
This was on:
Client:
Cloud integration: v1.0.35-desktop+001
Version: 24.0.4
API version: 1.43
Go version: go1.20.5
Git commit: 3713ee1
Built: Fri Jul 7 14:47:27 2023
OS/Arch: darwin/arm64
Context: desktop-linux
Server: Docker Desktop 4.22.0 (116548)
Engine:
Version: 24.0.4-3-gecd494abf3
API version: 1.43 (minimum version 1.12)
Go version: go1.20.5
Git commit: ecd494abf3ca1c0c7ae7c568375a4494b8a47319
Built: Fri Jul 7 21:18:08 2023
OS/Arch: linux/arm64
Experimental: false
containerd:
Version: 1.6.21
GitCommit: 3dce8eb055cbb6872793272b4f20ed16117344f8
runc:
Version: 1.1.7
GitCommit: v1.1.7-0-g860f061
docker-init:
Version: 0.19.0
GitCommit: de40ad0
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
To do