[why] The "/srv/initrd/qemu-image/" directory needs to be accessible through the web to obtain qemu image.
[how] docker start add "-v /srv/initrd/qemu-image:/srv/initrd/qemu-image:ro"
Signed-off-by: cuiyili 2268260388@qq.com --- container/srv-http/start | 1 + 1 file changed, 1 insertion(+)
diff --git a/container/srv-http/start b/container/srv-http/start index 2b5bd1d..b56fe4d 100755 --- a/container/srv-http/start +++ b/container/srv-http/start @@ -13,6 +13,7 @@ cmd=( -v /srv/pub:/srv/pub:ro -v /etc/localtime:/etc/localtime:ro -v /srv/result:/srv/result:ro + -v /srv/initrd/qemu-image:/srv/initrd/qemu-image:ro -d srv-http )