Docker container for Apache Knox, which is an Application Gateway for interacting with the REST APIs and UIs of Apache Hadoop deployments. The image is available on Dockerhub: https://cloud.docker.com/u/farberg/repository/docker/farberg/apache-knox-docker.
A helm chart for deployment on k8s is available here: pfisterer/apache-knox-helm.
Apache Knox Version | Docker Tag |
---|---|
latest | farberg/apache-knox-docker:latest |
1.6.1 | farberg/apache-knox-docker:1.6.1 |
1.5.0 | farberg/apache-knox-docker:1.5.0 |
1.4.0 | farberg/apache-knox-docker:1.4.0 |
1.3.0 | farberg/apache-knox-docker:1.3.0 |
Example (required for the commands below to work)
export KNOX_VERSION=1.6.1
Using the default configuration files:
docker run --rm -ti farberg/apache-knox-docker:$KNOX_VERSION
Using your own configuration files:
docker run --rm -ti -v /path/to/your/config:/opt/knox/conf farberg/apache-knox-docker:$KNOX_VERSION
# Example on MacOS/Linux:
# docker run --rm -ti -v $PWD/my-conf/:/opt/knox/conf/ farberg/apache-knox-docker:$KNOX_VERSION
# docker run --rm -ti -v $PWD/my-conf-1.4.0/:/opt/knox/conf/ farberg/apache-knox-docker:$KNOX_VERSION
# docker run --rm -ti -v $PWD/my-conf-1.5.0/:/opt/knox/conf/ farberg/apache-knox-docker:$KNOX_VERSION
# docker run --rm -ti -v $PWD/my-conf-1.6.1/:/opt/knox/conf/ farberg/apache-knox-docker:$KNOX_VERSION
docker login
docker buildx build --push --platform "linux/arm64,linux/amd64" -t farberg/apache-knox-docker:latest -t farberg/apache-knox-docker:$KNOX_VERSION .