← 返回命令列表

Linux command

toolbox-init-container 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Initialize

toolbox init-container --gid [gid] --home [home] --shell [shell] --uid [uid] --user [user]

说明

toolbox init-container initializes a running Toolbx container. This is an internal command executed automatically when a container starts and should not be run manually by users. The command sets up the container environment to match the host system's user configuration, creating necessary symbolic links and configuring user identity.

参数

--gid _GID_
Group ID of the user
--home _PATH_
Home directory path
--home-link
Create symbolic link for home
--media-link
Create symbolic link for media
--mnt-link
Create symbolic link for mnt
--monitor-host
Monitor host for configuration changes
--shell _SHELL_
User's login shell
--uid _UID_
User ID
--user _NAME_
Username

FAQ

What is the toolbox-init-container command used for?

toolbox init-container initializes a running Toolbx container. This is an internal command executed automatically when a container starts and should not be run manually by users. The command sets up the container environment to match the host system's user configuration, creating necessary symbolic links and configuring user identity.

How do I run a basic toolbox-init-container example?

Run `toolbox init-container --gid [gid] --home [home] --shell [shell] --uid [uid] --user [user]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --gid _GID_ do in toolbox-init-container?

Group ID of the user