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.

  • Cannot start docker after installation on Windows
  • Unable to login to artifactory docker repository
  • Persistent Data when Scaling Postgres with Citus and Docker Compose
  • Docker Volume without linking. What is the use case?
  • Stopping docker containers by image name - Ubuntu
  • Visual Studio Tools for Docker - PrepareForCompile task failed unexpectedly
  • How to send requests to a web server running inside a docker container inside an AWS EC2 machine from the outside world?
  • Cannot produce message to kafka from service running in docker
  • apt-get in docker behind corporate proxy
  • Rails Project on Docker
  • subdomain is created via domain regitrar or web server?
  • T50 does not work with docker container
  • 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.