How to backup root-ca-only from UCP replica

I am trying to backup UCP master root-ca-only from UCP replica server:

docker run --rm -i --name ucp -v /var/run/docker.sock:/var/run/docker.sock docker/ucp:1.1.0 backup --root-ca-only --id 4G26:AMCX:67XR:TIKD:CXYS:3PKD:5O66:SKZM:T22Q:OYYL:BV2H:QJ3D --url https://ucp-master-url > backup.tar 

It is not working. Please suggest the correct way.

  • How can I create a docker image then upload it to my repositary? [closed]
  • Docker dependency issue: Rake aborted! LoadError: cannot load such file — sqlite3/sqlite3_native
  • Possible? How to setup VNC in a Google Managed VM Environment
  • how do I start a simple container?
  • Docker IBM SDK-8 Image - Getting thread/memory dump
  • Kubernetes Jenkins plugin - slaves always offline
  • Can Firewalld work with the Docker Overlay Network?
  • Phoenix Framework - docker image for development and deployment to Kubernetes
  • As a asp.net MVC dev, Why and when to use a docker?
  • How to properly deploy to host from gitlab-ci (+docker)?
  • Docker port forwarding between container and host
  • how to create docker image from an ISO file?
  • One Solution collect form web for “How to backup root-ca-only from UCP replica”

    Can you try the interactive mode like this:

    docker run --rm -i --name ucp -v /var/run/docker.sock:/var/run/docker.sock docker/ucp backup --root-ca-only --passphrase "secret" > backup.tar -i

    I am getting time="2016-06-17T00:51:17Z" level=fatal msg="flag provided but not defined: -url" with --url. You can pass the fingerprint with --id xxx like you did, just don’t use the --url.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.