From 4ace9ca8af4f48ca150d45ed1d112732a08b2997 Mon Sep 17 00:00:00 2001 From: Andreas Fankhauser hiddenalpha.ch Date: Thu, 12 Jan 2023 00:54:42 +0100 Subject: (docker) Add note how to inspect broken docker build --- doc/note/docker/Docker.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/note/docker/Docker.txt b/doc/note/docker/Docker.txt index 7a9d130..ac283c9 100644 --- a/doc/note/docker/Docker.txt +++ b/doc/note/docker/Docker.txt @@ -57,6 +57,17 @@ Side-Mount tcpdump into container where it does not exist docker run --rm -ti --network container:"${CNTNR_TO_DUMP:?}" -v "/tmp/foo:/work" "${IMG_WITH_TCPDUMP_EG_BASEIMG:?}" bash +## Inspect failing docker-build + +See "https://stackoverflow.com/a/26222636/4415884" + + docker run --rm -ti 42424242 sh + +HINT: Use the line which looks like: +"---> 42424242" +and NOT the one like: +"---> Running in 42424242" + ## Publish custom images to artifactory -- cgit v1.1