# Cannot retrieve .Id from 'docker inspect docker.elastic.co/kibana/kibana:6.1.1'

**URL:** <https://discuss.elastic.co/t/cannot-retrieve-id-from-docker-inspect-docker-elastic-co-kibana-kibana-6-1-1/114622>\
**Category:** Kibana\
**Created:** [January 8, 2018, 10:45pm UTC](https://discuss.elastic.co/t/cannot-retrieve-id-from-docker-inspect-docker-elastic-co-kibana-kibana-6-1-1/114622 "2018-01-08T22:45:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fryder](https://avatars.discourse-cdn.com/v4/letter/f/76d3ee/32.png) [@Fryder](https://discuss.elastic.co/u/Fryder)\
**Post date:** [January 8, 2018, 10:45pm UTC](https://discuss.elastic.co/t/cannot-retrieve-id-from-docker-inspect-docker-elastic-co-kibana-kibana-6-1-1/114622/1 "2018-01-08T22:45:26Z")

</div>

I am trying to build kibana docker with jenkins pipeline.  
and am receiving the below error  
`Cannot retrieve .Id from 'docker inspect docker.elastic.co/kibana/kibana:6.1.1'`

The same is getting downloaded and processed good for elastic search.

Docker file (example from elastic search website)

`FROM docker.elastic.co/kibana/kibana:6.1.1`

`COPY kibana.yml /usr/share/kibana/config/kibana.yml`

```
      ` stage('docker-build-and-tag-kibana') {
            steps {
                dir('kibana-docker') {
                    dockerCreateRepository credentialsId: config.dockerRegistryCredentials,
                        repository: "employee/emp-kibana"

                    dockerBuildAndPush tags: ["6.1.1"],
                        credentialsId: config.dockerRegistryCredentials, image: "employee/emp-kibana"
                }
            }
        }`

      ` stage('docker-build-and-tag-elasticsearch') {
            steps {
                dir('elasticsearch-docker') {
                    dockerCreateRepository credentialsId: config.dockerRegistryCredentials,
                        repository: "employee/emp-elasticsearch"

                    dockerBuildAndPush tags: ["6.1.1"],
                        credentialsId: config.dockerRegistryCredentials, image: "employee/emp-elasticsearch"
                }
            }
        }`
```

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [January 12, 2018, 12:58pm UTC](https://discuss.elastic.co/t/cannot-retrieve-id-from-docker-inspect-docker-elastic-co-kibana-kibana-6-1-1/114622/2 "2018-01-12T12:58:27Z")

</div>

Hey @Fryder, if I pull the kibana docker image using:

```auto
docker pull docker.elastic.co/kibana/kibana:6.1.1

```

I'm able to run the following successfully:

```auto
docker inspect docker.elastic.co/kibana/kibana:6.1.1

```

This leads me to believe that the issue isn't with the kibana docker images, but the issue instead lies within the Jenkins pipeline.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 9, 2018, 12:58pm UTC](https://discuss.elastic.co/t/cannot-retrieve-id-from-docker-inspect-docker-elastic-co-kibana-kibana-6-1-1/114622/3 "2018-02-09T12:58:33Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
