On Mon, Oct 12, 2020 at 09:49:03AM +0800, Wang Chenglong wrote:
+Usage:
- cd ${CCI_SRC/rootfs/initramfs/centos/aarch64/7}
- ./build
1.build at here not link ${CCI_SRC/container/osimage/centos-7/build, create ln -s in our code.
2.point user touch file rootfs.passwd in READEME is also necessary, instead of user execute code to see message "Please set the password file".
+docker_rm init_docker +docker cp -a init_docker:/${image_name} ./
3.can't copy file from a container which is dead or marked for removal, docker cp should execute defore docker_rm.
Thanks, Yinsi