Lines Matching refs:container
185 "Spawn a minimal namespace container for debugging, testing and building.\n\n"
189 " -D --directory=PATH Root directory for the container\n"
192 " -x --ephemeral Run container with snapshot of root directory, and\n"
194 " -i --image=PATH File system device or disk image for the container\n"
197 " --chdir=PATH Set working directory in the container\n"
199 " -M --machine=NAME Set the machine name for the container\n"
200 " --uuid=UUID Set a specific machine UUID for the container\n"
201 " -S --slice=SLICE Place the container in the specified slice\n"
205 " --private-network Disable network in container\n"
208 " container\n"
211 " existing network interface to the container\n"
214 " existing network interface to the container\n"
216 " and container\n"
219 " host and container\n"
222 " and container and add it to an existing bridge on\n"
225 " Expose a container IP port on the host\n"
228 " processes in the container\n"
231 " API/tmpfs file systems in the container\n"
242 " the container\n"
248 " the container\n"
253 " --register=BOOLEAN Register container as machine\n"
1038 log_warning("/etc/localtime is not a symlink, not updating container timezone.");
1046 log_warning("/etc/localtime does not point into /usr/share/zoneinfo/, not updating container timezone.");
1065 log_warning("Timezone %s does not exist in container, not updating container timezone.", z);
1071 log_error_errno(errno, "Failed to remove existing timezone info %s in container: %m", where);
1077 log_error_errno(errno, "Failed to correct timezone of container: %m");
1142 * the container gets a new one */
1320 * we simply make /dev/kmsg unavailable to the container. */
1603 hookup will fail if running inside a container. We don't
2254 * container, the container was terminated by a signal, or
2256 * container argument.
2257 * > 0 : The program executed in the container terminated with an
2259 * container is returned. The container argument has been set
2261 * 0 : The container is being rebooted, has been shut down or exited
2262 * successfully. The container argument has been set to either
2268 static int wait_for_container(pid_t pid, ContainerStatus *container) {
2274 return log_warning_errno(r, "Failed to wait for container: %m");
2285 *container = CONTAINER_TERMINATED;
2292 *container = CONTAINER_TERMINATED;
2298 *container = CONTAINER_REBOOTED;
2322 log_info("Trying to halt container. Send SIGTERM again to trigger immediate termination.");
2456 NULL, /* container */
2558 /* LXC sets container=lxc, so follow the scheme here */
2559 envp[n_env++] = strjoina("container=", arg_container_service_name);
3137 log_error("Spawning container on root directory is not supported. Consider using --ephemeral.");
3295 log_info("Spawning container %s on %s.\nPress ^] three times within 1s to kill container.",
3535 * run inside the container. */
3620 /* We failed to wait for the container, or the
3621 * container exited abnormally */
3624 /* The container exited with a non-zero