How-to install and run keen/dashboards

I forked the keen/dashboards github repo and I am trying to create a Dockerfile for running the dashboard in a Docker container.

My fork:

  • How to add dynamic file to docker container
  • Docker - how to cache added directory?
  • OpenShift and persistent Redis config
  • docker, MYSQL_ROOT_PASSWORD do not work
  • Cant Connect to HBase in a Docker instance
  • Tomcat remote deploy with Intellj IDEA
  • I am not familiar with node and npm. The Docker image was built successfully.

    I am not sure if I am using the right command to start the dashboards app (npm start) because when I try to run the docker container locally, it does not start. It exits right away.

    docker run -d -p 3000:3000 –name=keen-dashboard adityai/dashboards:gh-pages

  • Mounting a directory located on an alternate host computer volume. Possible? (Docker)
  • Docker maven plugin ClientProtocolException (Windows 10 using Docker Toolbox)
  • How to delete all running docker containers?
  • Signatures couldn't be verified because the public key is not available error while installing docker
  • How to preserve apt-cache archive directory when using docker / host volumes
  • Jenkins Pipeline push Docker image
  • One Solution collect form web for “How-to install and run keen/dashboards”

    Like you did: clone the repo

    $ git clone

    This repo does contain a Dockerfile (which is a file which describes the setup of your docker image). You can build a docker image from the file

    $ cd dashboards
    $ docker build -t my-dashboard .

    The dockerfile starts from base image httpd (apache).
    After the build of your dockerfile you can see your image:

    $ docker images
    REPOSITORY          TAG                 IMAGE ID            CREATED              SIZE
    my-dashboard        latest              81a5607c03ba        About a minute ago   204 MB

    And you can create a container instance from that image. I must admit there is not much info about the docker run command on the github page or docker hub page.

    Now you can run the image. I saw that port 80 was exposed in the dockerfile so I mapped port 80 of the container on port 80 of my local machine.

    $ docker run -d -p 80:80 my-dashboard

    Now I can visit the dashboards in my browser at localhost:80
    enter image description here

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.