这是indexloc提供的服务,不要输入任何密码
Skip to content

GTrunSec/podenv

 
 

Repository files navigation

podenv: a podman wrapper

Note that this is a work in progress, please get in touch if you are interested.

Podenv provides a declarative interface to manage containerized application. Using rootless containers, podenv let you run applications seamlessly.

Overview and scope

The main goal of podenv is to convert an application definition into a podman command.

At a high level, the scope of podenv is the following:

  • Highlevel capability system to define generic container resources.
  • Support desktop application with VPN network namespace.
  • User friendly command line interface.
  • Functional configuration.

Usage

Here are some demo use cases:

Container image

Run a container image: podenv --cwd --shell image:ubi8

… starts the following command: podman run -it --detach-keys '' --network none --rm --volume $(pwd):/data:Z --workdir /data ubi8 /bin/bash

Nix packages

Run a nix package: podenv nix:"(import <nixpkgs> {}).hello" hello

… instantiates the expression and runs the hello command in a container.

Applications

Run a podenv application: podenv gimp ./image.png

… builds a container and starts the following command: podman run [wayland args] --volume $(pwd)/image.png:/data/image.png gimp /data/image.png

Documentation

Podenv documentation is organized into the following four sections:

Tutorials

These guides help you get your hands dirty with working examples:

Howtos

These cookbooks teach you how to solve specific tasks:

Discussions

These posts explain the context and motivation behind this tool:

References

These comprehensive resources cover details that other texts will gloss over:

About

a podman wrapper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haskell 94.3%
  • Nix 5.3%
  • Dhall 0.4%