Docker Community Forums

Share and learn in the Docker community.

Docker/ucp 3.1.0 or later image --skip-cloud-provider option not available

Hi all,

I’ve been trying to deploy ucp 3.1.2 on a node in Azure and I wanted to avoid cloud provider checking as states in documentation using --skip-cloud-provider flag.

docker container run --rm -it --name ucp -v /var/run/docker.sock:/var/run/docker.sock docker/ucp:3.1.0 install --host-address 192.168.1.6 --pod-cidr 172.16.0.0/16 --skip-cloud-provider --interactive

The output in serveral images versions (3.1.2, 3.1.3, 3.1.0) is the same.

Incorrect Usage.

FATA[0000] flag provided but not defined: -skip-cloud-provider

I also attach the full output bellow.

Thanks in advance

Incorrect Usage.

Docker Universal Control Plane Tool

   install - Install UCP on this node

USAGE:
   docker run --rm -it \
        -v /var/run/docker.sock:/var/run/docker.sock \
        docker/ucp \
        install [command options]

DESCRIPTION:

This command initializes a new swarm, turns this node into a manager, and installs
Docker Universal Control Plane (UCP).

When installing UCP you can customize:

  * The certificates used by the UCP web server. Create a volume
    named 'ucp-controller-server-certs' and copy the ca.pem, cert.pem, and key.pem
    files to the root directory. Then run the install command with the
    '--external-server-cert' flag.

  * The license used by UCP, by bind-mounting the file at
    '/config/docker_subscription.lic' in the tool.  E.g. -v /path/to/my/config/docker_subscription.lic:/config/docker_subscription.lic
    or by specifying with '--license "$(cat license.lic)"

If you're joining more nodes to this swarm, open the following ports in your
firewall:

  * 443 or the '--controller-port'
  * 2376 or the '--swarm-port'
  * 2377 or the swarm-mode listen port
  * 179, 6443, 6444, 10250, 12376, 12378 - 12386
  * 4789(udp) and 7946(tcp/udp) for overlay networking

If you have SELinux policies enabled for your Docker install, you will need to
use 'docker run --rm -it --security-opt label=disable ...' when running this
command.


OPTIONS:
   --debug, -D                  Enable debug mode
   --jsonlog                    Produce json formatted output for easier parsing
   --interactive, -i            Run in interactive mode and prompt for configuration values
   --admin-username value       The UCP administrator username [$UCP_ADMIN_USER]
   --admin-password value       The UCP administrator password [$UCP_ADMIN_PASSWORD]
   --san value                  Add subject alternative names to certificates (e.g. --san www1.acme.com --san www2.acme.com) [$UCP_HOSTNAMES]
   --host-address value         The network address to advertise to other nodes. Format: IP address or network interface name [$UCP_HOST_ADDRESS]
   --data-path-addr value       Address or interface to use for data path traffic. Format: IP address or network interface name [$UCP_DATA_PATH_ADDR]
   --controller-port value      Port for the web UI and API (default: 443)
   --kube-apiserver-port value  Port for the Kubernetes API server (default: 6443)
   --swarm-port value           Port for the Docker Swarm manager. Used for backwards compatibility (default: 2376)
   --swarm-grpc-port value      Port for communication between nodes (default: 2377)
   --cni-installer-url value    A URL pointing to a kubernetes YAML file to be used as an installer for the CNI plugin of the cluster. If specified, the default CNI plugin will not be installed. If the URL is using the HTTPS scheme, no certificate verification will be performed
   --unmanaged-cni              Flag to indicate if cni provider is calico and managed by UCP (calico is the default CNI provider)
   --pod-cidr value             Kubernetes cluster IP pool for the pods to allocated IP from (Default: 192.168.0.0/16) (default: "192.168.0.0/16")
   --nodeport-range value       Allowed port range for Kubernetes services of type NodePort (Default: 32768-35535) (default: "32768-35535")
   --cloud-provider value       The cloud provider for the cluster
   --dns value                  Set custom DNS servers for the UCP containers [$DNS]
   --dns-opt value              Set DNS options for the UCP containers [$DNS_OPT]
   --dns-search value           Set custom DNS search domains for the UCP containers [$DNS_SEARCH]
   --unlock-key value           The unlock key for this swarm-mode cluster, if one exists. [$UNLOCK_KEY]
   --existing-config            Use an existing UCP config during this installation. The install will fail if a config is not found
   --force-minimums             Force the install/upgrade even if the system does not meet the minimum requirements
   --skip-cloud-provider-check  Disables checks which rely on detecting which (if any) cloud provider the cluster is currently running on
   --pull value                 Pull UCP images: 'always', when 'missing', or 'never' (default: "missing")
   --registry-username value    Username to use when pulling images [$REGISTRY_USERNAME]
   --registry-password value    Password to use when pulling images [$REGISTRY_PASSWORD]
   --kv-timeout value           Timeout in milliseconds for the key-value store (default: 5000) [$KV_TIMEOUT]
   --kv-snapshot-count value    Number of changes between key-value store snapshots (default: 20000) [$KV_SNAPSHOT_COUNT]
   --swarm-experimental         Enable Docker Swarm experimental features. Used for backwards compatibility
   --disable-tracking           Disable anonymous tracking and analytics
   --disable-usage              Disable anonymous usage reporting
   --external-server-cert       Customize the certificates used by the UCP web server
   --preserve-certs             Don't generate certificates if they already exist
   --binpack                    Set the Docker Swarm scheduler to binpack mode. Used for backwards compatibility
   --random                     Set the Docker Swarm scheduler to random mode. Used for backwards compatibility
   --external-service-lb value  Set the IP address of the load balancer that published services are expected to be reachable on
   --enable-profiling           Enable performance profiling
   --license value              Add a license: e.g. --license "$(cat license.lic)" [$UCP_LICENSE]
   --force-insecure-tcp         Force install to continue even with unauthenticated Docker Engine ports.

FATA[0000] flag provided but not defined: -skip-cloud-provider

Your flag is incomplete, --skip-cloud-provider-check