Skip to content
This repository has been archived by the owner on Feb 8, 2021. It is now read-only.

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

Open
jovizhangwei opened this issue Sep 13, 2017 · 1 comment
Open

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

jovizhangwei opened this issue Sep 13, 2017 · 1 comment

Comments

@jovizhangwei
Copy link

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
@bergwolf
Copy link
Member

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants