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.

  • Docker: Cannot pull an image that was pushed to a private registry
  • How i eexec gobblin with Docker
  • Configuring nginx in a single docker container environment (AWS ElasticBeanstalk)
  • How to visually see the browser being automated on Multihost docker on windows 10 and Linux ?
  • Docker: TLS handshake timeout
  • When I use PyCharm and odoo, [Errno 2] No such file or directory Process finished with exit code 2
  • Faster Google App Engine Managed VM deploys (Python compat env)?
  • Graylog 2.2.0-beta.1 in Docker with UDP input: Unable to load default stream
  • When deploying a Docker container to AWS, do i need to deploy my own reverse proxy as well?
  • Boot2Docker/Fig mounted volume not refreshing
  • What is the best way to run an Ubuntu server on Windows with Docker and develop with an IDE?
  • 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.