// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-FileCopyrightText: (C) 2023 Andreas Hartmann <hartan@7x.de>
// This file is part of cnf-lib, available at <https://gitlab.com/hartang/rust/cnf>
//! # Container Environment Handler
//!
//! This runs ad-hoc containers from local container storage or a remote container registry if
//! configured.
//!
//! **This is not currently implemented but planned for later on. If you have a need for this
//! feature, please let us know!**
use crateCnfError;
use Path;
const CONTAINER_ENV: &str = "/run/.containerenv";
/// Detect if the current environment is a container.
/// Run a command in a container environment.