# \[SUMA3\] Docker image inspect not working

**URL:** <https://forums.suse.com/t/suma3-docker-image-inspect-not-working/32530>\
**Category:** SUSE Multi Linux Manager\
**Created:** [June 8, 2018, 10:20am UTC](https://forums.suse.com/t/suma3-docker-image-inspect-not-working/32530 "2018-06-08T10:20:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![timstein](https://avatars.discourse-cdn.com/v4/letter/t/96bed5/32.png) [@timstein](https://forums.suse.com/u/timstein)\
**Post date:** [June 8, 2018, 10:20am UTC](https://forums.suse.com/t/suma3-docker-image-inspect-not-working/32530/1 "2018-06-08T10:20:13Z")

</div>

Hello,

Iâm playing around with the Docker image functionality of SUSE Manager 3. The built process itself works perfect. What I cannot get to work is the “inspect”-part. According to [https://www.suse.com/documentation/suse-manager-3/singlehtml/book\_suma\_best\_practices\_31/book\_suma\_best\_practices\_31.html#bp.images](https://www.suse.com/documentation/suse-manager-3/singlehtml/book_suma_best_practices_31/book_suma_best_practices_31.html#bp.images) and [https://wiki.microfocus.com/index.php/SUSE\_Manager/imagebuilding#Known\_Pitfalls](https://wiki.microfocus.com/index.php/SUSE_Manager/imagebuilding#Known_Pitfalls) the packages python and python-xml have to be installed inside the image to get inspect to work. Well, IMHO my Dockerfile does exactly that. Here it is, very simplistic, just for testing:

`FROM suse/sles12sp3:latest
ENV TZ='Europe/Berlin'
ARG repo
ARG cert
RUN rm /etc/localtime && ln -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime && \\
    echo "$cert" > /etc/pki/trust/anchors/RHN-ORG-TRUSTED-SSL-CERT.pem && \\
    update-ca-certificates && \\
    echo "$repo" > /etc/zypp/repos.d/susemanager:dockerbuild.repo && \\
    zypper --gpg-auto-import-keys --non-interactive install python python-xml && \\
    zypper clean && rm -rf /var/cache/zypp* && rm -f /etc/zypp/repos.d/susemanager:dockerbuild.repo
`  
Running the container and executing “rpm âq python python-xml” returns both packages as installed.

Nevertheless, all I get is this grey question mark in the Updates column after a successful image built. Looking into the details of the image SUSE Manager shows me “Inspect is successful” as Inspect Status. Clicking on “Inspect is successful” gets me “Module function dockerng.sls\_build executed (code 2)”.

Except “code 2” everything looks fine for me.

We are running version 3.1.5 of SUSE Manager. Someone got a hint were to start trouble-shooting?

Thanks and best regards  
Tim

---

<div class="post-metadata">

**Author:** ![kwk](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/kwk/32/11997_2.png) [@kwk](https://forums.suse.com/u/kwk)\
**Post date:** [June 11, 2018, 9:31am UTC](https://forums.suse.com/t/suma3-docker-image-inspect-not-working/32530/2 "2018-06-11T09:31:13Z")

</div>

/var/log/rhn/rhn\_web\_ui.log and /var/log/salt/master (both on SUSE Manager server) should be the first candidates to check. Otherwise, please open a support request.

---

<div class="post-metadata">

**Author:** ![timstein](https://avatars.discourse-cdn.com/v4/letter/t/96bed5/32.png) [@timstein](https://forums.suse.com/u/timstein)\
**Post date:** [June 20, 2018, 3:29pm UTC](https://forums.suse.com/t/suma3-docker-image-inspect-not-working/32530/3 "2018-06-20T15:29:58Z")

</div>

The last SUSE Manager updates to 3.1.6 solved this issue.
