diff options
author | Andreas Fankhauser hiddenalpha.ch | 2023-01-12 00:54:42 +0100 |
---|---|---|
committer | Andreas Fankhauser hiddenalpha.ch | 2023-01-12 00:54:42 +0100 |
commit | 4ace9ca8af4f48ca150d45ed1d112732a08b2997 (patch) | |
tree | cf1178f281ba6c795733b48133932da62f1f7670 | |
parent | 484c66bc3246545f980dde170c1c98061221560a (diff) | |
download | UnspecifiedGarbage-4ace9ca8af4f48ca150d45ed1d112732a08b2997.zip UnspecifiedGarbage-4ace9ca8af4f48ca150d45ed1d112732a08b2997.tar.gz |
(docker) Add note how to inspect broken docker build
-rw-r--r-- | doc/note/docker/Docker.txt | 11 |
1 files changed, 11 insertions, 0 deletions
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 |