Bug 38466 - Не запускаются контейнеры
Summary: Не запускаются контейнеры
Status: CLOSED NOTABUG
Alias: None
Product: Sisyphus
Classification: Development
Component: docker-ce (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: cow@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-11 20:49 MSK by Alexander Makeenkov
Modified: 2020-05-12 08:12 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Makeenkov 2020-05-11 20:49:12 MSK
Запуск любых контейнеров завершается ошибкой "docker: Error response from daemon: OCI runtime create failed: this version of runc doesn't work on cgroups v2: unknown."

Например:

$ docker --debug run --rm -it alt
Unable to find image 'alt:latest' locally
latest: Pulling from library/alt
a7f990b67251: Pull complete 
b8d15b4d031b: Pull complete 
Digest: sha256:7ae29f8523f38dc958a1d288c9f024387a9b8dcff8842552bc05ec8919f2810e
Status: Downloaded newer image for alt:latest
DEBU[0018] Error sending signal: Error response from daemon: Cannot kill container: cdbc263e420f45bba73e53e4c1991ab27e79226b4beec15e5fbf4b0f9cef038d: Container cdbc263e420f45bba73e53e4c1991ab27e79226b4beec15e5fbf4b0f9cef038d is not running 
                                                                      DEBU[0018] [hijack] End of stdout                       
DEBU[0018] Error sending signal: Error response from daemon: Cannot kill container: cdbc263e420f45bba73e53e4c1991ab27e79226b4beec15e5fbf4b0f9cef038d: Container cdbc263e420f45bba73e53e4c1991ab27e79226b4beec15e5fbf4b0f9cef038d is not running 
DEBU[0018] Error sending signal: Error response from daemon: Cannot kill container: cdbc263e420f45bba73e53e4c1991ab27e79226b4beec15e5fbf4b0f9cef038d: Container cdbc263e420f45bba73e53e4c1991ab27e79226b4beec15e5fbf4b0f9cef038d is not running 
DEBU[0018] Error sending signal: Error response from daemon: Cannot kill container: cdbc263e420f45bba73e53e4c1991ab27e79226b4beec15e5fbf4b0f9cef038d: Container cdbc263e420f45bba73e53e4c1991ab27e79226b4beec15e5fbf4b0f9cef038d is not running 
docker: Error response from daemon: OCI runtime create failed: this version of runc doesn't work on cgroups v2: unknown.
ERRO[0018] error waiting for container: context canceled 
DEBU[0018] FIXME: Got an status-code for which error does not match any expected type!!!: -1  module=api status_code=-1
DEBU[0018] Error sending signal: error during connect: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/cdbc263e420f45bba73e53e4c1991ab27e79226b4beec15e5fbf4b0f9cef038d/kill?signal=URG": context canceled 
DEBU[0018] FIXME: Got an status-code for which error does not match any expected type!!!: -1  module=api status_code=-1
DEBU[0018] Error sending signal: error during connect: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/cdbc263e420f45bba73e53e4c1991ab27e79226b4beec15e5fbf4b0f9cef038d/kill?signal=URG": context canceled 
DEBU[0018] FIXME: Got an status-code for which error does not match any expected type!!!: -1  module=api status_code=-1
DEBU[0018] Error sending signal: error during connect: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/cdbc263e420f45bba73e53e4c1991ab27e79226b4beec15e5fbf4b0f9cef038d/kill?signal=URG": context canceled 
DEBU[0018] FIXME: Got an status-code for which error does not match any expected type!!!: -1  module=api status_code=-1
DEBU[0018] Error sending signal: error during connect: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/cdbc263e420f45bba73e53e4c1991ab27e79226b4beec15e5fbf4b0f9cef038d/kill?signal=URG": context canceled 
DEBU[0018] FIXME: Got an status-code for which error does not match any expected type!!!: -1  module=api status_code=-1
DEBU[0018] Error sending signal: error during connect: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/cdbc263e420f45bba73e53e4c1991ab27e79226b4beec15e5fbf4b0f9cef038d/kill?signal=URG": context canceled

Версии пакетов:
docker-ce-19.03.8-alt1
runc-1.0.0-alt12.rc10
Comment 1 Владимир Диденко 2020-05-11 21:22:44 MSK
Это не бага. Docker пока не работает с cgroups v2. Добавьте в строку загрузки ядра параметр 

systemd.unified_cgroup_hierarchy=0
Comment 2 Alexander Makeenkov 2020-05-12 08:12:36 MSK
(Ответ для Владимир Диденко на комментарий #1)
> Это не бага. Docker пока не работает с cgroups v2. Добавьте в строку
> загрузки ядра параметр 
> 
> systemd.unified_cgroup_hierarchy=0

Да, работает. Спасибо!