I am using docker on windows - version 18.03
(client)/18.05
(server). I have created docker-compose
file for ELK stack. Everything is working fine. What I would like to do is, to install logtrail
before kibana is started. I was thinking about copying logtrail*.zip
first, then call install:
container_name: kibana
(...)
command:
- docker cp kibana:/ ./kibana/logtrail/logtrail-6.7.1-0.1.31.zip
- /bin/bash
- ./bin/kibana-plugin install/logtrail-6.7.1-0.1.31.zip
But that doesn't look like right way as first of all it doesn't work, second of all I am not sure if I can call mutliple commands like I did and third of all I'm not sure if docker cp
in command
is even allowed on that stage of service creation