Docker image for credhub (include a docker-compose file to run with uaa).
docker run -d -p 127.0.0.1:9000:9000 orangeopensource/credhub:latest
You will need a config file for UAA which can be found here.
- Start a UAA with Docker:
docker run -d --name uaa --mount type=bind,source=$PWD/docker-compose/config/uaa.yml,target=/uaa/uaa.yml -p 127.0.0.1:8080:8080 pcfseceng/uaa:latest
- Start credhub with docker with binding uaa:
docker run -d --link uaa -e UAA_URL=http://localhost:8080/uaa -e UAA_INTERNAL_URL=http://uaa:8080/uaa -p 127.0.0.1:9000:9000 pcfseceng/uaa:latest
Clone this repo and run docker-compose up -d
inside folder /docker-compose.
You can now connect to credhub with this command:
credhub-cli login -s https://localhost:9000 -u credhub -p password --skip-tls-validation