mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
Docker docs v6 (#14683)
Update Docker docs for 6.0.0 and image flavours * Use Compose v2 in Docker examples * Use US spelling in Docker docs * Link to www.docker.elastic.co in docs
This commit is contained in:
parent
5f5f727d39
commit
f2cd26ae73
3 changed files with 38 additions and 20 deletions
|
@ -1,6 +1,7 @@
|
|||
|
||||
include::{asciidoc-dir}/../../shared/versions61.asciidoc[]
|
||||
|
||||
:docker-repo: docker.elastic.co/kibana/kibana
|
||||
:docker-image: docker.elastic.co/kibana/kibana:{version}
|
||||
:repo: https://github.com/elastic/kibana/
|
||||
:issue: {repo}issues/
|
||||
|
|
|
@ -1,15 +1,21 @@
|
|||
[[docker]]
|
||||
== Running Kibana on Docker
|
||||
Docker images for Kibana are available from the Elastic Docker registry. The
|
||||
base image is https://hub.docker.com/_/centos/[centos:7] and the source code
|
||||
can be found on
|
||||
https://github.com/elastic/kibana-docker/tree/{branch}[GitHub].
|
||||
base image is https://hub.docker.com/_/centos/[centos:7].
|
||||
|
||||
The images are shipped with https://www.elastic.co/products/x-pack[X-Pack]
|
||||
installed.
|
||||
A list of all published Docker images and tags can be found at
|
||||
https://www.docker.elastic.co[www.docker.elastic.co]. The source code can be
|
||||
found on https://github.com/elastic/elasticsearch-docker/tree/{branch}[GitHub].
|
||||
|
||||
=== Image types
|
||||
|
||||
The images are available in two different configurations or "flavors". The
|
||||
`x-pack` flavor, which is the default, ships with X-Pack features
|
||||
pre-installed. The `oss` flavor does not include X-Pack, and contains only
|
||||
open-source Kibana.
|
||||
|
||||
NOTE: https://www.elastic.co/guide/en/x-pack/current/index.html[X-Pack] is
|
||||
pre-installed in this image. With X-Pack installed, Kibana expects to
|
||||
pre-installed in the default image. With X-Pack installed, Kibana expects to
|
||||
connect to an Elasticsearch cluster that is also running X-Pack.
|
||||
|
||||
=== Pulling the image
|
||||
|
@ -25,22 +31,22 @@ endif::[]
|
|||
|
||||
ifeval::["{release-state}"!="unreleased"]
|
||||
|
||||
The Docker image for Kibana {version} can be retrieved with the following
|
||||
command:
|
||||
Docker images can be retrieved with the following commands:
|
||||
|
||||
["source","sh",subs="attributes"]
|
||||
["source","txt",subs="attributes"]
|
||||
--------------------------------------------
|
||||
docker pull {docker-image}
|
||||
docker pull {docker-repo}:{version}
|
||||
docker pull {docker-repo}-oss:{version}
|
||||
--------------------------------------------
|
||||
|
||||
endif::[]
|
||||
|
||||
=== Configuring Kibana on Docker
|
||||
|
||||
The Docker image provides several methods for configuring Kibana. The conventional
|
||||
approach is to provide a `kibana.yml` file as described in {kibana-ref}/settings.html[Configuring
|
||||
Kibana], but it's
|
||||
also possible to use environment variables to define settings.
|
||||
The Docker images provide several methods for configuring Kibana. The
|
||||
conventional approach is to provide a `kibana.yml` file as described in
|
||||
{kibana-ref}/settings.html[Configuring Kibana], but it's also possible to use
|
||||
environment variables to define settings.
|
||||
|
||||
[[docker-bind-mount-config]]
|
||||
==== Bind-mounted configuration
|
||||
|
@ -50,6 +56,7 @@ With +docker-compose+, the bind-mount can be specified like this:
|
|||
|
||||
["source","yaml",subs="attributes"]
|
||||
--------------------------------------------
|
||||
version: '2'
|
||||
services:
|
||||
kibana:
|
||||
image: {docker-image}
|
||||
|
@ -86,6 +93,7 @@ These variables can be set with +docker-compose+ like this:
|
|||
|
||||
["source","yaml",subs="attributes"]
|
||||
----------------------------------------------------------
|
||||
version: '2'
|
||||
services:
|
||||
kibana:
|
||||
image: {docker-image}
|
||||
|
@ -98,11 +106,17 @@ Since environment variables are translated to CLI arguments, they take
|
|||
precedence over settings configured in `kibana.yml`.
|
||||
|
||||
==== Docker defaults
|
||||
The following settings have different default values when using the Docker image:
|
||||
The following settings have different default values when using the Docker
|
||||
images:
|
||||
|
||||
[horizontal]
|
||||
`server.name`:: `kibana`
|
||||
`server.host`:: `"0"`
|
||||
`elasticsearch.url`:: `http://elasticsearch:9200`
|
||||
|
||||
In the `x-pack` image, the following additional defaults are also set:
|
||||
|
||||
[horizontal]
|
||||
`elasticsearch.username`:: `elastic`
|
||||
`elasticsearch.password`:: `changeme`
|
||||
`xpack.monitoring.ui.container.elasticsearch.enabled`:: `true`
|
||||
|
@ -110,3 +124,7 @@ The following settings have different default values when using the Docker image
|
|||
These settings are defined in the default `kibana.yml`. They can be overridden
|
||||
with a <<docker-bind-mount-config,custom `kibana.yml`>> or via
|
||||
<<docker-env-config,environment variables>>.
|
||||
|
||||
IMPORTANT: If replacing `kibana.yml` with a custom version, be sure to copy the
|
||||
above defaults to the custom file if you want to retain them. If not, they will
|
||||
be "masked" by the new file.
|
||||
|
|
|
@ -33,12 +33,11 @@ Elastic website or from our RPM repository.
|
|||
|
||||
`docker`::
|
||||
|
||||
An image is available for running Kibana as a Docker container. It ships
|
||||
with https://www.elastic.co/products/x-pack[X-Pack] pre-installed and is
|
||||
available from the Elastic
|
||||
Docker registry.
|
||||
Images are available for running Kibana as a Docker container. They may be
|
||||
downloaded from the Elastic Docker Registry. The default image ships with
|
||||
{xpack-ref}/index.html[X-Pack] pre-installed.
|
||||
+
|
||||
{kibana-ref}/docker.html[Running Kibana on Docker]
|
||||
<<docker,Running Kibana on Docker>>
|
||||
|
||||
IMPORTANT: If your Elasticsearch installation is protected by {xpack-ref}/xpack-security.html[X-Pack Security]
|
||||
see {kibana-ref}/using-kibana-with-security.html[Configuring Security in Kibana]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue