Name: docker-cloudbreak-shell
Owner: Hortonworks Inc
Description: null
Created: 2015-02-03 16:15:06.0
Updated: 2017-05-04 20:40:31.0
Pushed: 2018-01-09 15:42:14.0
Homepage: null
Size: 578
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This docker image helps you to start cloudbreak-shell
. Previously the shell
was part of the Cloudbreak docker image, but they have a separate lifecycle,
so it deserves it?s very own Dockerfile. Here it comes …
To connect to the hosted Cloudbreak server, you only need your account email and password
er run -e SEQUENCEIQ_USER=myuser@example.com -e SEQUENCEIQ_PASSWORD=secret123 -it sequenceiq/cb-shell:0.5.14
Its not a good practice to type your password in a command line. Instead of passing the plain text password as:
SEQUENCEIQ_PASSWORD=secret123
You can set it in your .profile
or .bash_profile
rt SEQUENCEIQ_PASSWORD=secret123
At Docker start you will pass it as:
e SEQUENCEIQ_PASSWORD=$SEQUENCEIQ_PASSWORD
By default, if you don?t specify, the default url?s will be use/connect to:
CLOUDBREAK_ADDRESS
https://cloudbreak-api.sequenceiq.com/IDENTITY_ADDRESS
https://identity.sequenceiq.comIf you want to connect to your own Cloudbreak deployment:
er run -it \
CLOUDBREAK_ADDRESS=https://cloudbreak-api.example.com \
IDENTITY_ADDRESS=https://identity.example.com \
SEQUENCEIQ_USER=myuser@example.com \
SEQUENCEIQ_PASSWORD=secret123 sequenceiq/cb-shell:0.5.14
If you want to connect to Cloudbreak deployment setup with cloudbreak-deployer
er run -it \
CLOUDBREAK_ADDRESS=http://172.17.42.1:8080 \
IDENTITY_ADDRESS=https://172.17.42.1:8089 \
SEQUENCEIQ_USER=admin@example.com \
SEQUENCEIQ_PASSWORD=cloudbreak sequenceiq/cb-shell:0.5.14
With a cloudbreak-deployer setup, you can also use this command to get Cloudbreak shell (recommended)
util cloudbreak-shell
If you want to use a custom Cloudbreak shell artifact (e.g. another version), all you need is to specify it via
the CLOUDBREAK_CUSTOM_JAR_URL=
env variable:
er run -it \
CLOUDBREAK_CUSTOM_JAR_URL=https://example.com/custom-cb-shell.jar \
quenceiq/cb-shell:0.5.14 myuser@example.com secret123
If you want to see more output, set the TRACE
and variable to anything:
er run -e TRACE=1 ...