Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/juhp/fhcontainer

Fedora (Haskell) container tool
https://github.com/juhp/fhcontainer

Last synced: 17 days ago
JSON representation

Fedora (Haskell) container tool

Awesome Lists containing this project

README

        

[![license](https://img.shields.io/badge/license-GPLv3+-brightgreen.svg)](https://www.gnu.org/licenses/gpl.html)

# "Fedora Haskell" Container tool
This may eventually become a more general container tool.

## Examples

```shellsession
$ fhcontainer f42
fedora:42 a4ce01130677
2024-09-19 15:42:49 +0800
[root@ed803b975b3c /]#
```

More example invocations:

```shellsession
$ fhcontainer f40
$ fhcontainer c9s
$ fhcontainer debian
$ fhcontainer --list
```

You can use `--pull` to refresh an existing container image.

## Usage

`$ fhcontainer --version`

`$ fhcontainer --help`

```
Fedora container tool

Usage: fhcontainer [--version] [-n|--name NAME] [-p|--pull] [-V|--verbose]
[-m|--mount DIR] ((-l|--list) | DIST/IMAGE/CONTAINER)
[CMD+ARGs...]

Available options:
-h,--help Show this help text
--version Show version
-n,--name NAME Container name
-p,--pull Pull latest image
-V,--verbose output more details
-m,--mount DIR mount directory into container
-l,--list List local images
```

## Build/installation

`stack install` or `cabal install`

In Fedora you can use `cabal-rpm builddep` to pre-install the dependencies
for cabal-install.