# Kibana in docker, issues with installation of plugins

**URL:** <https://discuss.elastic.co/t/kibana-in-docker-issues-with-installation-of-plugins/236866>\
**Category:** Kibana\
**Created:** [June 12, 2020, 10:14am UTC](https://discuss.elastic.co/t/kibana-in-docker-issues-with-installation-of-plugins/236866 "2020-06-12T10:14:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![twright8](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/twright8/32/58294_2.png) [@twright8](https://discuss.elastic.co/u/twright8)\
**Post date:** [June 12, 2020, 10:14am UTC](https://discuss.elastic.co/t/kibana-in-docker-issues-with-installation-of-plugins/236866/1 "2020-06-12T10:14:41Z")

</div>

Hey All - and thanks for any help in advance.

Im trying to install this plugin into kibana in docker: [https://github.com/dlumbrer/kbn\_network](https://github.com/dlumbrer/kbn_network)

my version is 7.7.1 which should work based on the docs. After copying from "kibana-plugins" I have tried using the command argument in my yaml file:

```
volumes:
  - ./config/kibana.yml:/usr/share/kibana/config/kibana.yml:ro
  - ./config/kibana-plugins:/usr/share/kibana/plugins:ro

command: sh -c './bin/kibana-plugin install file:///usr/share/kibana/plugins/network_vis-7.zip

```

i've also tried with a direct link to github but it always says "ENOENT: no such file or directory, mkdir"

I've also tried creating a dockerfile but im not sure im doing this right? how would i invoke this to install into an existing image?

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

    USER root
    RUN yum install git -y

    USER kibana
    RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash && . ~/.nvm/nvm.sh && nvm install node && cd /usr/share/kibana/plugins && git clone https://github.com/dlumbrer/kbn_network.git network_vis -b 7-dev && cd network_vis && rm -rf images/ && npm install

```

Any ideas?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [July 9, 2020, 10:46am UTC](https://discuss.elastic.co/t/kibana-in-docker-issues-with-installation-of-plugins/236866/2 "2020-07-09T10:46:45Z")

</div>

Hi @twright8

I could run that plugin on `7.5.2` but not on `7.7.1` or `7.8.0`.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/6/964f25f7453139dbdb02c9cf751ebd92527c92bf.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/7/e77671ac70ae8659075d2f2bfd7017632efb6716.png)

I only had to mount the unzipped folder inside the `/usr/share/kibana/plugins/network_vis`. Check out the full configuration on this [gist](https://gist.github.com/jsanz/722c8b8f41d271efe63ffa877addc989) .

```
  kibana:
    image: docker.elastic.co/kibana/kibana:7.5.2
    container_name: kibana
    ports:
      - 5601:5601
    volumes:
      - ./kibana.yml:/usr/share/kibana/config/kibana.yml
      - ./network_vis:/usr/share/kibana/plugins/network_vis
    networks: 
      - esnet
    depends_on:
      - elasticsearch

```

You may want to open a ticket in this plugin repo to check with the author what could be missing to prevent it running on recent versions of Kibana.

---

<div class="post-metadata">

**Author:** ![twright8](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/twright8/32/58294_2.png) [@twright8](https://discuss.elastic.co/u/twright8)\
**Post date:** [July 27, 2020, 6:43am UTC](https://discuss.elastic.co/t/kibana-in-docker-issues-with-installation-of-plugins/236866/3 "2020-07-27T06:43:13Z")

</div>

thankyou thats amazing!

---

<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:** [August 24, 2020, 6:43am UTC](https://discuss.elastic.co/t/kibana-in-docker-issues-with-installation-of-plugins/236866/4 "2020-08-24T06:43:19Z")

</div>

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