Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yorek/zeppelin-sqlserver-docker
Dockerized Apache Zeppelin with SQL Server and SQL Azure support
https://github.com/yorek/zeppelin-sqlserver-docker
docker docker-image sql-server zeppelin
Last synced: 16 days ago
JSON representation
Dockerized Apache Zeppelin with SQL Server and SQL Azure support
- Host: GitHub
- URL: https://github.com/yorek/zeppelin-sqlserver-docker
- Owner: yorek
- License: apache-2.0
- Created: 2016-05-25T07:16:52.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-02T21:05:51.000Z (over 7 years ago)
- Last Synced: 2023-08-04T14:22:01.278Z (over 1 year ago)
- Topics: docker, docker-image, sql-server, zeppelin
- Size: 27.3 KB
- Stars: 6
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Apache Zeppelin for SQL Server Docker Image
This is the dockerized Apache Zeppelin with SQL Server and SQL Azure support, for which the source code is available here:https://github.com/yorek/zeppelin
This docker image is built using the "master" branch which contains the latest *stable* released version
## Version
Dockerfile version: 1.2
## Docker Hub
Apache Zeppelin for SQL Server Docker image is available at the [Docker Hub](https://hub.docker.com/r/yorek/zeppelin-sqlserver/).
## Usage
After having installed your docker environment you can get the image using the docker command (via docker shell if using Docker Machine or PowerShell if using native Docker)
docker pull yorek/zeppelin-sqlserver
once the image is downloaded you can run it using the docker command
docker run --name zeppelin -p 8080:8080 -v /zeppelin-sqlserver/notebook -v /zeppelin-sqlserver/conf -d yorek/zeppelin-sqlserver:latest
after that you can just connect to
http://localhost:8080
using your browser to start to use Apache Zeppelin. If you are using the "old" [docker-machine](https://docs.docker.com/toolbox/overview/) instead of using the native docker engine for your OS, you need to connect to the docker machine ip address instead of localhost. If you don't know such ip address you can get it using the following command
docker-machine ip
you can then point your browser to
http://:8080
and you're done. If this is your first time using Apache Zeppelin, you have to configure it to access to your SQL Server or SQL Azure instance. Read how to do so here:
- [Using Zeppelin](https://github.com/yorek/zeppelin#using-zeppelin)
## Update an existing Docker Image
Get updated image
docker pull yorek/zeppelin-sqlserver:latest
Once it's downloaded, check if you have a running container
docker ps
If you see an Apache Zeppelin container is running (it is named zeppelin if you followed my tutorials), stop it
docker stop zeppelinNow create a new container pointing to the volumes of the previous version. The new container will automatically use the updated image
docker run -name zeppelin2 -p 8080:8080 -volumes-from zeppelin -d yorek/zeppelin-sqlserver:latest
List again all the existing containers (running and not running)
docker ps -a
Note that the old zeppelin container the is still there and if not needed can be removed
docker rm zeppelin
The new container can now be renamed to the usual name
docker rename zeppelin2 zeppelin
The old image can also be removed to free disk space
docker rmi yorek/zeppelin-sqlserver:v0.6.2Now check that only one zeppelin container, with the latest version, is available:
docker ps
Upgrade done! Now you can start Apache Zeppelin for SQL Server with the usual command:
docker start zeppelin
## Notes
From version 1.1 of Dockerfile, Zeppelin notebooks and configuration are saved in Docker Volumes so that created notebooks and configured interpreters will be preserved even when the Apache Zeppelin for SQL Server image is updated.