Lecture: Complete Backups for UCP and DTR

Docker Certified Associate Prep course

I am stuck at below step, ican someone help?

[root@shakeelj4 ~]# docker container run --log-driver none -i --name ucp -v /var/run/docker.sock:/var/run/docker.sock docker/ucp backup > backup.tar

docker: Error response from daemon: Conflict. The container name "/ucp" is already in use by container "99f86c81d10ccccf5c6736c234b981e274addba956387bd87b0e098f3431befe". You have to remove (or rename) that container to be able to reuse that name.


I removed the container by running docker rm 


docker rm 692944b43666e5fba0e5fd2a4f1b6867878543ccc5fbc1396ca11b18d120a1ec


and re-ran command and this time i am getting a different error this time around


[root@shakeelj4 docker]# docker container run --log-driver none --name ucp -v /var/run/docker.sock:/var/run/docker.sock docker/ucp backup > backup.tar

INFO[0000] Your engine version 18.06.1-ce, build e68fc7a (3.10.0-862.11.6.el7.x86_64) is compatible with UCP 3.0.5 (f588f8a)

FATA[0000] unable to find the bootstrap container


  • post-author-pic
    Terrence C
    10-04-2018

    Be sure you are running the latest version of Docker-CE (or EE) from the repositories and the latest UCP image that it supports (in the case above, looks like your Docker Engine supports UCP 3.0.5 and you may be running a later version of UCP). You can pull a specific UCP version locally if needed or even directly by appending the ":[version]" to the end of the pull command (local install) or run command (which pulls it during instantiation).

  • post-author-pic
    Shakeel J
    10-04-2018

    thank you Terrence, after installing ucp 2.2.13, i was able to create backups


  • post-author-pic
    Terrence C
    10-05-2018

    Fantastic - and thanks for sharing your solution for anyone else that is searching!

Looking For Team Training?

Learn More