Skip to main content

No project description provided

Project description

A Docker Universal Control Plane CLI


This ucp-cli login command will download your user bundle and auth token into the ~/.ucp directory. With eval $(ucp-cli env) you can then access the docker or kubectl context.



Run the following to install:

$ pip install python-ucp-cli

Get Started

For usage and help content, pass in the --help parameter, for example:

$ ucp-cli --help

Usage: ucp-cli [OPTIONS] COMMAND [ARGS]...

  --help Show this mesage and exit


Login to UCP

$ pip install python-ucp-cli
$ ucp-cli login --username user1 --password password --url ucp-manager.local
Login Succeeded

$ eval $(ucp-cli env)
Cluster "ucp_ucp-manager.local:6443_user1" set.
User "ucp_ucp-manager.local:6443_user1" set.
Context "ucp_ucp-manager.local:6443_user1" created.
$ docker node ls
ID                          HOSTNAME          STATUS          AVAILABILITY          MANAGER STATUS    ENGINE VERSION 
1nsupdtjmsfsndvm7rsg52cho   ucp-manager.local Ready           Active                                  18.09.0

$ kubectl get node
NAME                  STATUS        ROLES       AGE         VERSION
ucp-manager.local     Ready         master      103d        v1.11.5-docker-4

Manage organizations


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for python-ucp-cli, version 0.1.8
Filename, size File type Python version Upload date Hashes
Filename, size python_ucp_cli-0.1.8-py3-none-any.whl (20.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size python-ucp-cli-0.1.8.tar.gz (22.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page