How to add credentials to my private docker registry?

Hi, I’m running Drone on my server using the docker container drone/drone:0.7.

I need to pull the image for my build from a private registry. how can I add the credentials?

I found http://docs.drone.io/manage-registry-credentials/ but I’m not able to docker exec into the container.

docker exec -ti drone-server drone --version
rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:262: starting container process caused "exec: \"drone\": executable file not found in $PATH"

Can I add the credentials using secrets in the UI?

Thanks,
Tobias

I installed the drone CLI, but there is nothing like drone repository

Downloaded from http://downloads.drone.io/release/linux/amd64/drone.tar.gz

drone --help
NAME:
   drone - command line utility

USAGE:
   drone [global options] command [command options] [arguments...]

VERSION:
   0.5.0+dev

COMMANDS:
   agent        starts the drone agent
   agents       manage agents
   build        manage builds
   deploy       deploy code
   exec         execute a local build
   info         show information about the current user
   secret       manage secrets
   server       starts the drone server daemon
   sign         creates a secure yaml file
   repo         manage repositories
   user         manage users
   org          manage organizations
   global       manage global state
   help, h      Shows a list of commands or help for one command

GLOBAL OPTIONS:
   -t, --token          server auth token [$DRONE_TOKEN]
   -s, --server         server location [$DRONE_SERVER]
   --help, -h           show help
   --version, -v        print the version

The correct download links can be found at http://docs.drone.io/cli-installation/