Raisess / box

A simple CLI that helps you to create containers using podman.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BOX

A simple CLI that helps you to create containers using podman.

How to create a container setup:

Start creating a json file like this:

[
    {
        "name": "hello-world",
        "image": "docker.io/library/hello-world:latest",
        "env": [
            ["TZ", "Etc/UTC"]
        ],
        "volumes": [
            ["/my_machine/dir", "/container/dir"]
        ],
        "ports": [
            [8080, 80, "tcp"]
        ]
    }
]
  • This is an ilustractive example.

To create the container execute the box create command:

box create <YOUR_FILE>.json
  • All others commands are used like this, box command <YOUR_FILE>.json [CONTAINER], use the help command for more info.

About

A simple CLI that helps you to create containers using podman.


Languages

Language:Python 99.7%Language:Shell 0.3%