Skip to content

Instantly share code, notes, and snippets.

@darkn3rd
Created July 5, 2016 08:48
Show Gist options
  • Save darkn3rd/7bda7ef1d70dc2c8001f73bcbe7ce06c to your computer and use it in GitHub Desktop.
Save darkn3rd/7bda7ef1d70dc2c8001f73bcbe7ce06c to your computer and use it in GitHub Desktop.
Ansible-Container Rebuild Fail
$ ansible-container build
(Re)building the Ansible Container image.
Building Docker Engine context...
Starting Docker build of Ansible Container image (please be patient)...
Ansible Container image has ID sha256:eefd96096f90601c4e06572e7ea511d7235ba5b2931eccd04d3a50a01fd58d2a
Starting Docker Compose engine to build your images...
ERROR: for ansible-container No such image: sha256:8b59430249e8ed9e5e275c8b35fc9eb53500f61250d4e0bdbad71ff3eba2be34
Attaching to
Cleaning up Ansible Container builder...
Attaching to ansible_ansible-container_1
Cleaning up Ansible Container builder...
argon: Pulling from library/node
5c90d4a2d1a8: Already exists
ab30c63719b1: Already exists
c6072700a242: Already exists
abb742d515b4: Already exists
22efa86cdb65: Pull complete
014a9d6f645d: Pull complete
Digest: sha256:fa0c5ecaa87537f76241429659ad8ee83226811563a519ddb922c6ff22a370a3
Status: Downloaded newer image for node:argon
Attaching to ansible_express_1, ansible_ansible-container_1
ansible-container_1 |
ansible-container_1 | PLAY [express] *****************************************************************
ansible-container_1 |
ansible-container_1 | TASK [setup] *******************************************************************
ansible-container_1 | ok: [express]
ansible-container_1 |
ansible-container_1 | TASK [Make AppDir] *************************************************************
ansible-container_1 | changed: [express]
ansible-container_1 |
ansible-container_1 | PLAY RECAP *********************************************************************
ansible-container_1 | express : ok=2 changed=1 unreachable=0 failed=0
ansible-container_1 |
ansible_ansible-container_1 exited with code 0
Aborting on container exit...
Stopping ansible_express_1 ... done
Exporting built containers as images...
Cleaning up Ansible Container builder...
$ dockviz images --tree
└─<missing> Virtual Size: 125.1 MB
└─<missing> Virtual Size: 125.1 MB
└─<missing> Virtual Size: 169.8 MB
└─<missing> Virtual Size: 301.0 MB
└─<missing> Virtual Size: 619.5 MB
├─<missing> Virtual Size: 619.6 MB
│ └─<missing> Virtual Size: 619.6 MB
│ └─<missing> Virtual Size: 619.6 MB
│ └─<missing> Virtual Size: 656.9 MB
│ └─abb6383ef5fe Virtual Size: 656.9 MB Tags: node:argon
└─<missing> Virtual Size: 620.9 MB
└─<missing> Virtual Size: 620.9 MB
└─<missing> Virtual Size: 620.9 MB
└─<missing> Virtual Size: 620.9 MB
└─<missing> Virtual Size: 620.9 MB
└─<missing> Virtual Size: 668.9 MB
└─<missing> Virtual Size: 675.1 MB
└─cd9f41698200 Virtual Size: 675.1 MB Tags: python:2.7
└─7ebf569d55e4 Virtual Size: 796.4 MB
└─9fe7d6fdd2a9 Virtual Size: 796.4 MB
└─93dd241548fb Virtual Size: 796.4 MB
└─53dbba076b19 Virtual Size: 884.0 MB
└─10653c3f9486 Virtual Size: 884.0 MB
└─4300d3b8f62f Virtual Size: 884.0 MB
└─eefd96096f90 Virtual Size: 884.0 MB Tags: ansible-container-builder:latest
$ ansible-container build
(Re)building the Ansible Container image.
Building Docker Engine context...
Starting Docker build of Ansible Container image (please be patient)...
Ansible Container image has ID sha256:eefd96096f90601c4e06572e7ea511d7235ba5b2931eccd04d3a50a01fd58d2a
Starting Docker Compose engine to build your images...
Attaching to ansible_ansible-container_1
Cleaning up Ansible Container builder...
Attaching to ansible_express_1, ansible_ansible-container_1
ansible-container_1 |
ansible-container_1 | PLAY [express] *****************************************************************
ansible-container_1 |
ansible-container_1 | TASK [setup] *******************************************************************
ansible-container_1 | ok: [express]
ansible-container_1 |
ansible-container_1 | TASK [Make AppDir] *************************************************************
ansible-container_1 | changed: [express]
ansible-container_1 |
ansible-container_1 | PLAY RECAP *********************************************************************
ansible-container_1 | express : ok=2 changed=1 unreachable=0 failed=0
ansible-container_1 |
ansible_ansible-container_1 exited with code 0
Aborting on container exit...
Stopping ansible_express_1 ... done
Exporting built containers as images...
Committing image...
Exported express-express with image ID sha256:a51d564edf9613f5edabcb7be257e700a8d7e33938ea83dbc0ff77617a6bd398
Cleaning up express build container...
Cleaning up Ansible Container builder...
$ dockviz images --tree
└─<missing> Virtual Size: 125.1 MB
└─<missing> Virtual Size: 125.1 MB
└─<missing> Virtual Size: 169.8 MB
└─<missing> Virtual Size: 301.0 MB
└─<missing> Virtual Size: 619.5 MB
├─<missing> Virtual Size: 619.6 MB
│ └─<missing> Virtual Size: 619.6 MB
│ └─<missing> Virtual Size: 619.6 MB
│ └─<missing> Virtual Size: 656.9 MB
│ └─abb6383ef5fe Virtual Size: 656.9 MB Tags: node:argon
│ └─a51d564edf96 Virtual Size: 656.9 MB Tags: express-express:20160705084124, express-express:latest
└─<missing> Virtual Size: 620.9 MB
└─<missing> Virtual Size: 620.9 MB
└─<missing> Virtual Size: 620.9 MB
└─<missing> Virtual Size: 620.9 MB
└─<missing> Virtual Size: 620.9 MB
└─<missing> Virtual Size: 668.9 MB
└─<missing> Virtual Size: 675.1 MB
└─cd9f41698200 Virtual Size: 675.1 MB Tags: python:2.7
└─7ebf569d55e4 Virtual Size: 796.4 MB
└─9fe7d6fdd2a9 Virtual Size: 796.4 MB
└─93dd241548fb Virtual Size: 796.4 MB
└─53dbba076b19 Virtual Size: 884.0 MB
└─10653c3f9486 Virtual Size: 884.0 MB
└─4300d3b8f62f Virtual Size: 884.0 MB
└─eefd96096f90 Virtual Size: 884.0 MB Tags: ansible-container-builder:latest
$ ansible-container build
(Re)building the Ansible Container image.
Building Docker Engine context...
Starting Docker build of Ansible Container image (please be patient)...
Ansible Container image has ID sha256:eefd96096f90601c4e06572e7ea511d7235ba5b2931eccd04d3a50a01fd58d2a
Starting Docker Compose engine to build your images...
Attaching to ansible_ansible-container_1
Cleaning up Ansible Container builder...
Attaching to ansible_express_1, ansible_ansible-container_1
ansible-container_1 |
ansible-container_1 | PLAY [express] *****************************************************************
ansible-container_1 |
ansible-container_1 | TASK [setup] *******************************************************************
ansible-container_1 | ok: [express]
ansible-container_1 |
ansible-container_1 | TASK [Make AppDir] *************************************************************
ansible-container_1 | ok: [express]
ansible-container_1 |
ansible-container_1 | PLAY RECAP *********************************************************************
ansible-container_1 | express : ok=2 changed=0 unreachable=0 failed=0
ansible-container_1 |
ansible_ansible-container_1 exited with code 0
Aborting on container exit...
Stopping ansible_express_1 ... done
Exporting built containers as images...
Committing image...
Exported express-express with image ID sha256:3ba4802716c4b99594b2b75978c5c3657bac61645c6087aa0718cbd0c6a36562
Cleaning up express build container...
Removing previous image...
409 Client Error: Conflict ("conflict: unable to delete a51d564edf96 (cannot be forced) - image has dependent child images")
$ dockviz images --tree
└─<missing> Virtual Size: 125.1 MB
└─<missing> Virtual Size: 125.1 MB
└─<missing> Virtual Size: 169.8 MB
└─<missing> Virtual Size: 301.0 MB
└─<missing> Virtual Size: 619.5 MB
├─<missing> Virtual Size: 619.6 MB
│ └─<missing> Virtual Size: 619.6 MB
│ └─<missing> Virtual Size: 619.6 MB
│ └─<missing> Virtual Size: 656.9 MB
│ └─abb6383ef5fe Virtual Size: 656.9 MB Tags: node:argon
│ └─a51d564edf96 Virtual Size: 656.9 MB Tags: express-express:20160705084124
│ └─3ba4802716c4 Virtual Size: 656.9 MB Tags: express-express:20160705084519, express-express:latest
└─<missing> Virtual Size: 620.9 MB
└─<missing> Virtual Size: 620.9 MB
└─<missing> Virtual Size: 620.9 MB
└─<missing> Virtual Size: 620.9 MB
└─<missing> Virtual Size: 620.9 MB
└─<missing> Virtual Size: 668.9 MB
└─<missing> Virtual Size: 675.1 MB
└─cd9f41698200 Virtual Size: 675.1 MB Tags: python:2.7
└─7ebf569d55e4 Virtual Size: 796.4 MB
└─9fe7d6fdd2a9 Virtual Size: 796.4 MB
└─93dd241548fb Virtual Size: 796.4 MB
└─53dbba076b19 Virtual Size: 884.0 MB
└─10653c3f9486 Virtual Size: 884.0 MB
└─4300d3b8f62f Virtual Size: 884.0 MB
└─eefd96096f90 Virtual Size: 884.0 MB Tags: ansible-container-builder:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment