azukiapp / azk

azk is a lightweight open source development environment orchestration tool. Instantly & safely run any environment on your local machine.
http://azk.io
Apache License 2.0
898 stars 63 forks source link

option `--rebuild` not working to `azk shell` #675

Open gullitmiranda opened 8 years ago

gullitmiranda commented 8 years ago
$ adocker images | grep $(azk info | grep manifest_id | awk '{print $2}')
azkbuild/858045d12d-test       9c090fe56218d04f16b479d4acd2fc76c2a0c120   6bb54e8b4ae1        16 hours ago        233.7 MB

$ azk shell test -vvvv --rebuild
/azk/test # exit

$ adocker images | grep $(azk info | grep manifest_id | awk '{print $2}')
azkbuild/858045d12d-test       9c090fe56218d04f16b479d4acd2fc76c2a0c120   6bb54e8b4ae1        16 hours ago        233.7 MB

the reason this happens is that the image used in the shell is the image of the extended system. That is, it would be necessary to run the rebuild of the image of the parent system to which the shell is left rebuild.

$ azk version --full
Version   : azk version 0.18.0, build e69e813, date 2016-05-20
OS        : OS X (x64), Memory: 4096MB
Agent     : Running
Docker    : 1.9.1
Uses VM   : Yes, IP: 192.168.51.4
VirtualBox: 5.0.14r105127