Code Monkey home page Code Monkey logo

tableau-server-docker's Introduction

tableau-server-docker Build Status

Dockerfile for Tableau Server on Linux - Single Node.

Build

Be sure that your EDITOR environment variable is set then simply call make:

make

Run image

To boot (run) Tableau Server container simply execute:

make run

It will call a systemd /sbin/init on the image and configure, register and start tableau server on the first start.

To connect from a different terminal to the server itself use

make exec

Pro tipp: If you commit the image state after the first execution (tableau configuration and registration) you don't have to wait minutes next time.

Author

These ten lines of code done by me, @tfoldi

Install Demo

Console Video

Blog from tfoldi

Blog

Tableau docs

tableau-server-docker's People

Contributors

dkuida avatar mohan-chinnappan-n avatar tfoldi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tableau-server-docker's Issues

Teableau server preference persistence

Hi,

How can we do the preference persistence ?
For example,
The mentioned user preference or meta should be persistence while removing existing container and running new instance of tableau-server

  1. Published workbook
  2. Newly created user
  3. Newly created My view of workbook.

Thanks in advance

Hangs during docker build

Running "make" triggers the docker build, which hangs upon reaching the following place:

Dependency Installed:
  gpm-libs.x86_64 0:1.20.7-5.el7                                                
  groff-base.x86_64 0:1.22.2-8.el7                                              
  iptables.x86_64 0:1.4.21-28.el7                                               
  libmnl.x86_64 0:1.0.3-7.el7                                                   
  libnetfilter_conntrack.x86_64 0:1.0.6-1.el7_3                                 
  libnfnetlink.x86_64 0:1.0.1-4.el7                                             
  perl.x86_64 4:5.16.3-294.el7_6                                                
  perl-Carp.noarch 0:1.26-244.el7                                               
  perl-Encode.x86_64 0:2.51-7.el7                                               
  perl-Exporter.noarch 0:5.68-3.el7                                             
  perl-File-Path.noarch 0:2.09-2.el7                                            
  perl-File-Temp.noarch 0:0.23.01-3.el7                                         
  perl-Filter.x86_64 0:1.49-3.el7                                               
  perl-Getopt-Long.noarch 0:2.40-3.el7                                          
  perl-HTTP-Tiny.noarch 0:0.033-3.el7                                           
  perl-PathTools.x86_64 0:3.40-5.el7                                            
  perl-Pod-Escapes.noarch 1:1.04-294.el7_6                                      
  perl-Pod-Perldoc.noarch 0:3.20-4.el7                                          
  perl-Pod-Simple.noarch 1:3.28-4.el7                                           
  perl-Pod-Usage.noarch 0:1.63-3.el7                                            
  perl-Scalar-List-Utils.x86_64 0:1.27-248.el7                                  
  perl-Socket.x86_64 0:2.010-4.el7                                              
  perl-Storable.x86_64 0:2.45-3.el7                                             
  perl-Text-ParseWords.noarch 0:3.29-4.el7                                      
  perl-Time-HiRes.x86_64 4:1.9725-3.el7                                         
  perl-Time-Local.noarch 0:1.2300-2.el7                                         
  perl-constant.noarch 0:1.27-2.el7                                             
  perl-libs.x86_64 4:5.16.3-294.el7_6                                           
  perl-macros.x86_64 4:5.16.3-294.el7_6                                         
  perl-parent.noarch 1:0.225-244.el7                                            
  perl-podlators.noarch 0:2.5.1-3.el7                                           
  perl-threads.x86_64 0:1.87-4.el7                                              
  perl-threads-shared.x86_64 0:1.43-6.el7                                       
  vim-common.x86_64 2:7.4.160-5.el7                                             
  vim-filesystem.x86_64 2:7.4.160-5.el7                                         
  which.x86_64 0:2.20-7.el7                                                     

Complete!
Loaded plugins: fastestmirror, ovl

Once this point is reached, nothing more happens - I have to Ctrl-C to kill the docker build as it's doing nothing at all.

Thoughts on `ConditionPathExsists`

Hey !

Nice image, thanks for sharing.

What's your thought behind the commented out ConditionPathExists

I guess there's a missing part here what to do if we have already made all the initialisation and we restart the container ? Shouldn't something like tableau-start.sh systemd service be created instead , which simply calls tsm initialize ?

Thanks !

Image for 19.1.2

Is it possible for you to create a docker image with your Dockerfile?
Not sure why, but my system is not able to create this image.

Problem starting docker

Hello all,
I can´t start it, giving the error message:
"Welcome to CentOS Linux 7 (Core)!

Set hostname to <5465b139c50c>.
Initializing machine ID from random generator.
Unit tmp.mount is bound to inactive unit dev-mapper-centos\x2droot.device. Stopping, too.
Startup finished in 60ms.
Job systemd-update-utmp-runlevel.service/start failed with result 'dependency'.
".

Best regards,

Fernando

Can't run the image

Hi @tfoldi , I followed your instructions, but unfortunately I wasn't able to run the image. Actually, when I run the make command, the process exit with the following code:

Failed:
  tableau-server-20191.19.0215.0259.x86_64 0:20191-19.0215.0259                 

Complete!
The command '/bin/sh -c rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm &&     yum install -y iproute curl sudo vim &&     adduser tsm &&     (echo tsm:tsm | chpasswd) &&     (echo 'tsm ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/tsm) &&     mkdir -p  /run/systemd/system /opt/tableau/docker_build &&     yum install -y              "https://downloads.tableau.com/esdalt/${TABLEAU_VERSION}/tableau-server-${TABLEAU_VERSION//\./-}.x86_64.rpm"              "https://downloads.tableau.com/drivers/linux/yum/tableau-driver/tableau-postgresql-odbc-9.5.3-1.x86_64.rpm"  &&     rm -rf /var/tmp/yum-*' returned a non-zero code: 1
make: *** [build] Error 1

I also tried by copying the Dockerfile given in your blog tutorial here, but also in that case I receeive an error:

Loaded plugins: fastestmirror, ovl
Cannot open: https://beta.tableau.com/linux_files/tableau-server-automated-installer-10.5-beta5.noarch.rpm. Skipping.
Cannot open: https://beta.tableau.com/linux_files/tableau-server-10.5-beta5.x86_64.rpm. Skipping.
Cannot open: https://beta.tableau.com/linux_driver/tableau-postgresql-odbc-9.5.3-1.x86_64.rpm. Skipping.
Error: Nothing to do
The command '/bin/sh -c rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm &&     yum install -y iproute curl sudo vim &&     adduser tsm &&     (echo tsm:tsm | chpasswd) &&     (echo 'tsm ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/tsm) &&     mkdir -p  /run/systemd/system /opt/tableau/docker_build &&     yum install -y              "https://beta.tableau.com/linux_files/tableau-server-automated-installer-${TABLEAU_VERSION}.noarch.rpm"              "https://beta.tableau.com/linux_files/tableau-server-${TABLEAU_VERSION}.x86_64.rpm"               "https://beta.tableau.com/linux_driver/tableau-postgresql-odbc-9.5.3-1.x86_64.rpm"  &&     rm -rf /var/tmp/yum-*' returned a non-zero code: 1
make: *** [build] Error 1

Any suggestion on how I can get this working. I am seeking for a "development" version of the Tableau Server that can be used to test REST API calls performed through a dedicated frontend app.

Thank you in advance,
@cubocicloide

TableauServer doesn't start when container restart

Hi, I followed HOWTO: Tableau Server Linux in Docker Container to start a docker container. It works fine when first started. But if stop the container and restart again, tableauServer can't start. I tried to docker exec into it and used tsm to start it, but it says Could not connect to TSM Controller at 'bb334aeab113:8850'.. I searched a lot from google and tableau community and find nothing helpful. If tableauserver can't restart when container start, commit to a new image will be useless.
Is there anything I missed ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.