This is an automated email from the ASF dual-hosted git repository.
volodymyr pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/drill.git
The following commit(s) were added to refs/heads/gh-pages by this push:
new 329e8dc Update references to official Apache Drill Docker images
329e8dc is described below
commit 329e8dc43226c4d853ee2df0d5cbfc47af35e2c2
Author: Volodymyr Vysotskyi <[email protected]>
AuthorDate: Thu Dec 26 14:28:59 2019 +0200
Update references to official Apache Drill Docker images
---
.../011-running-drill-on-docker.md | 28 ++++++++++------------
1 file changed, 13 insertions(+), 15 deletions(-)
diff --git
a/_docs/install/installing-drill-in-embedded-mode/011-running-drill-on-docker.md
b/_docs/install/installing-drill-in-embedded-mode/011-running-drill-on-docker.md
index 9b3248b..71c9258 100644
---
a/_docs/install/installing-drill-in-embedded-mode/011-running-drill-on-docker.md
+++
b/_docs/install/installing-drill-in-embedded-mode/011-running-drill-on-docker.md
@@ -4,7 +4,7 @@ date: 2019-12-26
parent: "Installing Drill in Embedded Mode"
---
-Starting in Drill 1.14, you can run Drill in a [Docker
container](https://www.docker.com/what-container#/package_software). Running
Drill in a container is the simplest way to start using Drill; all you need is
the Docker client installed on your machine. You simply run a Docker command,
and your Docker client downloads the Drill Docker image from the apache-drill
repository on [Docker Hub](https://docs.docker.com/docker-hub/) and brings up a
container with Apache Drill running in embedd [...]
+Starting in Drill 1.14, you can run Drill in a [Docker
container](https://www.docker.com/what-container#/package_software). Running
Drill in a container is the simplest way to start using Drill; all you need is
the Docker client installed on your machine. You simply run a Docker command,
and your Docker client downloads the Drill Docker image from the
[apache/drill](https://hub.docker.com/r/apache/drill) repository on [Docker
Hub](https://docs.docker.com/docker-hub/) and brings up a cont [...]
Currently, you can only run Drill in embedded mode in a Docker container.
Embedded mode is when a single instance of Drill runs on a node or in a
container. You do not have to perform any configuration tasks when Drill runs
in embedded mode.
@@ -21,28 +21,26 @@ Whether you run the Docker container in detached or
foreground mode, you start D
-| Option | Description
|
-|------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Option | Description
|
+|--------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `-i` | Keeps STDIN open. STDIN is standard input,
an input stream where data is sent to and read by a program.
|
| `-t` | Allocates a pseudo-tty (a shell).
|
-| `--name` | Identifies the container. If you do not use
this option to identify a name for the container, the daemon generates a
container ID for you. When you use this option to identify a container name,
you can use the name to reference the container within a Docker network in
foreground or detached mode. |
-| `-p` | The TCP port for the Drill Web UI. If
needed, you can change this port using the `drill.exec.http.port` [start-up
option]({{site.baseurl}}/docs/start-up-options/).
|
-| `drill/apache-drill:<version>` | The Docker Hub repository and tag. In the
following example, `drill/apache-drill` is the repository and `1.17.0` is
the tag: `drill/apache-drill:1.17.0` The tag correlates with the
version of Drill. When a new version of Drill is available, you can use the
new version as the tag. |
-| `bin/bash` | Connects to the Drill container using a
bash shell.
|
+| `--name` | Identifies the container. If you do not use
this option to identify a name for the container, the daemon generates a
container ID for you. When you use this option to identify a container name,
you can use the name to reference the container within a Docker network in
foreground or detached mode. |
+| `-p` | The TCP port for the Drill Web UI. If
needed, you can change this port using the `drill.exec.http.port` [start-up
option]({{site.baseurl}}/docs/start-up-options/).
|
+| `apache/drill:<version>` | The Docker Hub repository and tag. In the
following example, `apache/drill` is the repository and `1.17.0` is the
tag: `apache/drill:1.17.0`. The tag correlates with the version of
Drill. When a new version of Drill is available, you can use the new version
as the tag. |
+| `bin/bash` | Connects to the Drill container using a
bash shell.
|
### Running the Drill Docker Container in Foreground Mode
Open a terminal window (Command Prompt or PowerShell, but not PowerShell ISE)
and then issue the following command and options to connect to SQLLine (the
Drill shell):
- docker run -i --name drill-1.17.0 -p 8047:8047 -t
drill/apache-drill:1.17.0 /bin/bash
+ docker run -i --name drill-1.17.0 -p 8047:8047 -t apache/drill:1.17.0
/bin/bash
When you issue the docker run command, the Drill process starts in a
container. SQLLine prints a message, and the prompt appears:
- Jun 29, 2018 3:28:21 AM org.glassfish.jersey.server.ApplicationHandler
initialize
- INFO: Initiating Jersey application, version Jersey: 2.8 2014-04-29
01:25:26...
- apache drill 1.17.0
+ Apache Drill 1.17.0
"json ain't no thang"
- 0: jdbc:drill:zk=local>
+ apache drill>
At the prompt, you can enter the following simple query to verify that Drill
is running:
@@ -54,7 +52,7 @@ Open a terminal window (Command Prompt or PowerShell, but not
PowerShell ISE) an
**Note:** When you run the Drill Docker container in detached mode, you
connect to SQLLine (the Drill shell) using drill-localhost.
- $ docker run -i --name drill-1.17.0 -p 8047:8047 --detach -t
drill/apache-drill:1.17.0 /bin/bash
+ $ docker run -i --name drill-1.17.0 -p 8047:8047 --detach -t
apache/drill:1.17.0 /bin/bash
<displays container ID>
$ docker exec -it drill-1.17.0 bash
@@ -64,9 +62,9 @@ Open a terminal window (Command Prompt or PowerShell, but not
PowerShell ISE) an
After you issue the commands, the Drill process starts in a container. SQLLine
prints a message, and the prompt appears:
- apache drill 1.17.0
+ Apache Drill 1.17.0
"json ain't no thang"
- 0: jdbc:drill:drillbit=localhost>
+ apache drill>
At the prompt, you can enter the following simple query to verify that Drill
is running: