Skip to main content

No project description provided

Project description

A Docker Universal Control Plane CLI

asciicast

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.

Reference: https://docs.docker.com/ee/ucp/user-access/cli/

Installation

Run the following to install:

$ pip install python-ucp-cli

Usage

$ ucp-cli login --username user1 --password password --url ucp-manager.local

$ eval $(ucp-cli env)

$ docker node ls
...

$ kubectl get node
...

Developer

virtualenv venv
ls venv/
. venv/bin/activate
which python

pip install --editable .

Get Started

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

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.2
Filename, size File type Python version Upload date Hashes
Filename, size python_ucp_cli-0.1.2-py3-none-any.whl (14.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size python-ucp-cli-0.1.2.tar.gz (18.5 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