Advertisement
dfarrell07

docker_packer_build_fail

Jul 29th, 2016
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.65 KB | None | 0 0
  1. ```
  2. # packer build -var-file=vars/opendaylight-4.0.0.json -var-file=vars/fedora-23.json templates/docker.json
  3. # packer version 0.10.1 (latest)
  4. # docker version 1.12.0 (latest)
  5. # <snip everything working until Docker post-processor>
  6. docker: PLAY RECAP *********************************************************************
  7. docker: 127.0.0.1 : ok=18 changed=2 unreachable=0 failed=0
  8. docker:
  9. ==> docker: Committing the container
  10. docker: Image ID: sha256:f0555745493c7cc7f22f444d8e5f05889c3025b3b28aed7370d8e38aeabcdb92
  11. ==> docker: Killing the container: d75c5e949d386d4a920330c829c8f53bd62833a3124dec2db7c3ac9c3aa90418
  12. ==> docker: Running post-processor: docker-tag
  13. docker (docker-tag): Tagging image: sha256:f0555745493c7cc7f22f444d8e5f05889c3025b3b28aed7370d8e38aeabcdb92
  14. docker (docker-tag): Repository: opendaylight/odl:4.0.0
  15. Build 'docker' errored: 1 error(s) occurred:
  16.  
  17. * Post-processor failed: Error tagging image: exit status 1
  18. Stderr: unknown shorthand flag: 'f' in -f
  19. See 'docker tag --help'.
  20.  
  21.  
  22. ==> Some builds didn't complete successfully and had errors:
  23. --> docker: 1 error(s) occurred:
  24.  
  25. * Post-processor failed: Error tagging image: exit status 1
  26. Stderr: unknown shorthand flag: 'f' in -f
  27. See 'docker tag --help'.
  28.  
  29.  
  30. ==> Builds finished but no artifacts were created.
  31. ```
  32.  
  33. ```
  34. # Also seeing with ODL 4.1
  35. # packer build -var-file=vars/opendaylight-4.1.0.json -var-file=vars/fedora-23.json templates/docker.json
  36. ==> docker: Committing the container
  37. docker: Image ID: sha256:39c378affe5d9cb990c2dbeccee981f59e5b668747618bef02a596c7ade89f4f
  38. ==> docker: Killing the container: 5c49f700078e221e68aa64835d22cb320cb246203e9e0e5ab112186ea5509f24
  39. ==> docker: Running post-processor: docker-tag
  40. docker (docker-tag): Tagging image: sha256:39c378affe5d9cb990c2dbeccee981f59e5b668747618bef02a596c7ade89f4f
  41. docker (docker-tag): Repository: opendaylight/odl:4.1.0
  42. Build 'docker' errored: 1 error(s) occurred:
  43.  
  44. * Post-processor failed: Error tagging image: exit status 1
  45. Stderr: unknown shorthand flag: 'f' in -f
  46. See 'docker tag --help'.
  47.  
  48.  
  49. ==> Some builds didn't complete successfully and had errors:
  50. --> docker: 1 error(s) occurred:
  51.  
  52. * Post-processor failed: Error tagging image: exit status 1
  53. Stderr: unknown shorthand flag: 'f' in -f
  54. See 'docker tag --help'.
  55.  
  56.  
  57. ==> Builds finished but no artifacts were created.
  58. ```
  59.  
  60. ```
  61. # Also seeing with CentOS builds, so not related to new Fedora stuff
  62. # packer build -var-file=vars/opendaylight-4.1.0.json -var-file=vars/centos-7.2.1511.json templates/docker.json
  63. docker: PLAY RECAP *********************************************************************
  64. docker: 127.0.0.1 : ok=18 changed=2 unreachable=0 failed=0
  65. docker:
  66. ==> docker: Committing the container
  67. docker: Image ID: sha256:2c35acd41dff19e689d13cc8656959c43ff4f1b246156ed3e153d782e7a9cd4f
  68. ==> docker: Killing the container: c5f345fe2f30da29600a6b28c2a08a47162b28eb12f4066c8a5891870621594e
  69. ==> docker: Running post-processor: docker-tag
  70. docker (docker-tag): Tagging image: sha256:2c35acd41dff19e689d13cc8656959c43ff4f1b246156ed3e153d782e7a9cd4f
  71. docker (docker-tag): Repository: opendaylight/odl:4.1.0
  72. Build 'docker' errored: 1 error(s) occurred:
  73.  
  74. * Post-processor failed: Error tagging image: exit status 1
  75. Stderr: unknown shorthand flag: 'f' in -f
  76. See 'docker tag --help'.
  77.  
  78.  
  79. ==> Some builds didn't complete successfully and had errors:
  80. --> docker: 1 error(s) occurred:
  81.  
  82. * Post-processor failed: Error tagging image: exit status 1
  83. Stderr: unknown shorthand flag: 'f' in -f
  84. See 'docker tag --help'.
  85.  
  86.  
  87. ==> Builds finished but no artifacts were created.
  88. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement