hyperhq/runv

Yum update failed with "Exiting on user cancel" in runv

jovizhangwei opened this issue · 1 comments

Hi,

I tried to run yum update in runv, but it failed with "Exiting on user cancel". It works in runc.
Any tips for this issue?

$sudo docker run -it --rm --runtime runc centos yum update
Loaded plugins: fastestmirror, ovl
base                                                     | 3.6 kB     00:00     
extras                                                   | 3.4 kB     00:00     
updates                                                  | 3.4 kB     00:00     
(1/4): base/7/x86_64/group_gz                              | 155 kB   00:00     
(2/4): updates/7/x86_64/primary_db                         | 7.8 MB   00:00     
(3/4): base/7/x86_64/primary_db                            | 5.6 MB   00:00     
(4/4): extras/7/x86_64/primary_db                          | 191 kB   00:00     
Determining fastest mirrors
 * base: mirrors.aliyun.com
 * extras: ftp.sjtu.edu.cn
 * updates: mirrors.aliyun.com
No packages marked for update

$sudo docker run -it --rm centos yum update
Loaded plugins: fastestmirror, ovl
base                                                     | 3.6 kB     00:00     
extras                                                   | 3.4 kB     00:00     
updates                                                  | 3.4 kB     00:00     

Exiting on user cancel

It seems the container was killed by OOM killer. Can you retry with something like the --memory 512MB option?