Skip to content

[Inquiry] How to initialize this image with non-pid 1 #300

@kikispy

Description

@kikispy

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Hello, I have created a task to automate the operation of the Chrome browser based on the docker-webtop (ubuntu22) image; however, since the base image (s6-overlay management process) must be initialized and started with pid 1, it cannot be connected to the argo workflow (argo workflow needs to be initialized with argoexec as pid 1). So, I would like to ask how to initialize and start the image without the pid 1 process?
I would be very grateful if you can get a reply. Thank you.
你好,基于 docker-webtop(ubuntu22)镜像制作了一个 chrome 浏览器操作自动化的任务;但是由于 base的镜像(s6-overlay管理进程)必须要以pid 1初始化启动运行,导致无法接入 argo workflow 使用(argo workflow需要 以 argoexec 作为pid 1 初始化的),所以,前来咨询下,怎样才能非 pid 1进程下初始化启动镜像?
如能大佬获得回复感激不尽,谢谢

Expected Behavior

No response

Steps To Reproduce

non

Environment

- OS: ubuntu20
- How docker service was installed: yes

CPU architecture

x86-64

Docker creation

Normal startup, only 
--entrypoint="/var/run/argo/argoexec
emissary 
--loglevel info 
--log-format text 
--gloglevel 0 
--
bash 
-c 
exec /init &
sleep 10
python main.py
"

Container logs

s6-overlay-suexec: fatal: can only run as pid 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions