itzg / docker-minecraft-server

Docker image that provides a Minecraft Server that will automatically download selected version at startup
https://docker-minecraft-server.readthedocs.io/
Apache License 2.0
9.6k stars 1.56k forks source link

-e PLUGINS= not working #98

Closed scdba closed 8 years ago

scdba commented 8 years ago

$ sudo docker run --name es0 -p 9200:9200 -e PLUGINS=lmenezes/elasticsearch-kopf itzg/elasticsearch Installing the plugin lmenezes/elasticsearch-kopf -> Installing lmenezes/elasticsearch-kopf... Plugins directory [/usr/share/elasticsearch-2.3.4/plugins] does not exist. Creating... Trying https://github.com/lmenezes/elasticsearch-kopf/archive/master.zip ... Downloading ........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................DONE Verifying https://github.com/lmenezes/elasticsearch-kopf/archive/master.zip checksums if available ... NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify) Installed kopf into /usr/share/elasticsearch-2.3.4/plugins/kopf Starting Elasticsearch with the options -Dnetwork.host=_nonloopback -Des.path.conf=/conf -Des.path.data=/data -Des.path.logs=/data -Des.transport.tcp.port=9300 -Des.http.port=9200 --path.plugins=/conf/plugins Running as non-root...

itzg commented 8 years ago

Sorry, I hadn't circled around to check that with some of the base changes I made recently.

itzg commented 8 years ago

Confirmed plugin got installed during my testing after the fix:

// 20160731100058
// http://localhost:9200/_nodes/plugins

{
  "cluster_name": "elasticsearch",
  "nodes": {
    "PdAFzaJOR2mjjWj3YR7e9w": {
      "name": "Blizzard",
      "transport_address": "172.17.0.2:9300",
      "host": "172.17.0.2",
      "ip": "172.17.0.2",
      "version": "2.3.4",
      "build": "e455fd0",
      "http_address": "172.17.0.2:9200",
      "plugins": [
        {
          "name": "kopf",
          "version": "2.0.1",
          "description": "kopf - simple web administration tool for Elasticsearch",
          "url": "/_plugin/kopf/",
          "jvm": false,
          "site": true
        }
      ],
      "modules": [
        {
          "name": "lang-expression",
          "version": "2.3.4",
          "description": "Lucene expressions integration for Elasticsearch",
          "jvm": true,
          "classname": "org.elasticsearch.script.expression.ExpressionPlugin",
          "isolated": true,
          "site": false
        },
        {
          "name": "lang-groovy",
          "version": "2.3.4",
          "description": "Groovy scripting integration for Elasticsearch",
          "jvm": true,
          "classname": "org.elasticsearch.script.groovy.GroovyPlugin",
          "isolated": true,
          "site": false
        },
        {
          "name": "reindex",
          "version": "2.3.4",
          "description": "_reindex and _update_by_query APIs",
          "jvm": true,
          "classname": "org.elasticsearch.index.reindex.ReindexPlugin",
          "isolated": true,
          "site": false
        }
      ]
    }
  }
}
itzg commented 8 years ago

Pushed to Hub at sha256:81fbc3fac0d44450e77d33b922fd0f55480178fd4c0d50d3bdcf0b08706aff10

Thanks for reporting the issue!

scdba commented 8 years ago

Great - that was quick! Thanks for fixing

On 31 July 2016 at 16:07, Geoff Bourne notifications@github.com wrote:

Closed #98 https://github.com/itzg/dockerfiles/issues/98.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/itzg/dockerfiles/issues/98#event-740282694, or mute the thread https://github.com/notifications/unsubscribe-auth/AGlxbhDbEbHF_3o-ObAgykkwYOOkhMJRks5qbLpAgaJpZM4JZBfx .

Aryaguna Watson Database Development Manager www.southbankcentre.co.uk

Belvedere Road London SE1 8XX