Create a Persistent Tableau Server Docker Container in 30 minutes

tar -xzf tableau-server-container-setup-tool-<VERSION>.tar.gz
{
"first_name" : "John",
"last_name" : "Smith",
"email" : "john.smith@example.com",
"company" : "Example, Inc",
"title" : "Head Cat Herder",
"department" : "Engineering",
"industry" : "Finance",
"company_employees" : "500",
"phone" : "123-555-1212",
"city" : "Kirkland",
"state" : "WA",
"zip" : "98034",
"country" : "United States",
"opt_in" : "true",
"eula" : "accept"
}
#!/bin/bash
# Driver installation and other artifact installation script
mkdir -p /opt/tableau/tableau_driver/jdbc
cp /docker/customer-files/postgresql-42.3.3.jar /opt/tableau/tableau_driver/jdbc/postgresql-42.3.3.jaryum install -y /docker/customer-files/mysql-connector-odbc-8.0.26-1.el7.x86_64.rpm
TABLEAU_USERNAME=admin
TABLEAU_PASSWORD=admin
TSM_REMOTE_UID=1010
TSM_REMOTE_USERNAME=tsmadmin
./build-image --accepteula -i tableau-server-<VERSION>.rpm -e env.txt
sudo ./configure-container-host -u 999
docker volume create ts_container_data
my-craz1-sTrong-k€y-noOne-Can-gUes$
docker run \
-e LICENSE_KEY=<lincense-key> \
-e TABLEAU_USERNAME=admin \
-e TABLEAU_PASSWORD=admin \
-v ts_container_data:/var/opt/tableau \
-v <absolute-path>/remote-user-secret:/docker/config/remote-user-secret \
--hostname=localhost \
-p 8080:8080 \
-p 8850:8850 \
-d <container-image-id>
http://<ip-address>:8080
https://<ip-address>:8850
docker run \
-v ts_container_data:/var/opt/tableau \
--hostname=localhost \
-p 8080:8080 \
-p 8850:8850 \
-d <container-image-id>
docker run \
-v ts_container_data:/var/opt/tableau \
-v {absolute-path}/remote-user-secret:/docker/config/remote-user-secret \
--hostname=localhost \
-p 8080:8080 \
-p 8850:8850 \
-d <container-image-id>

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store