Lines Matching full:container
8 The ``container`` tool can be used to run any command in the kernel source tree
9 from within a container. Doing so facilitates reproducing builds across
25 scripts/container -i IMAGE [OPTION]... CMD...
31 Path to an environment file to load in the container.
35 Group id to use inside the container.
39 Container image name (required).
43 Container runtime name. Supported runtimes: ``docker``, ``podman``.
50 Run the container in an interactive shell.
54 User id to use inside the container.
73 container. The tool will take care of mounting the source tree as the current
76 The container image which would typically include a compiler toolchain is
77 provided by the user and selected via the ``-i`` option. The container runtime
84 container with SIGINT (Ctrl-C). To run commands interactively with a TTY, the
86 shell directly rather than the parent ``container`` process. To exit an
91 The only host requirement aside from a container runtime is Python 3.10 or
105 Environment variables are not propagated to the container so they have to be
112 during development. It is passed as-is to the container runtime so its format
122 scripts/container -i docker.io/tuxmake/korg-clang LLVM=1 make # won't work
126 scripts/container -i docker.io/tuxmake/korg-clang make LLVM=1
133 container runtime. The goal is to run commands as the user invoking the tool.
135 one in the container (1000 by default). With Docker, while this is also
137 the daemon so it's not used here for simplicity. Instead, the container is run
144 current user calling the ``container`` tool has id 1234. The kernel source
146 Podman, the container will be running as user id 1000 with a mapping to id 1234
148 the container. With Docker and no namespace, the container will be running
166 The TuxMake project provides a variety of prebuilt container images available
170 scripts/container -i docker.io/tuxmake/korg-clang -- make LLVM=1 defconfig
171 scripts/container -i docker.io/tuxmake/korg-clang -- make LLVM=1 -j$(nproc)
175 When running a command with options within the container, it should be
177 ``container`` tool options. Plain commands with no options don't strictly
180 scripts/container -i docker.io/tuxmake/korg-clang make mrproper
184 scripts/container -i perl:slim-trixie scripts/checkpatch.pl patches/*
196 scripts/container -i kernel.org/clang -- make bzImage -j$(nproc)
200 scripts/container -i kernel.org/gcc:15 -- make bzImage -j$(nproc)
208 scripts/container -i kernel.org/gcc -- make mrproper
209 scripts/container -i kernel.org/gcc -- make O=build defconfig
210 scripts/container -i kernel.org/gcc -- make O=build -j$(nproc)
214 scripts/container -s -i kernel.org/gcc:kunit -- \
222 scripts/container -si kernel.org/gcc bash
227 scripts/container -i kernel.org/kdocs make htmldocs