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

https://github.com/pexmor/fedora-container-in-vm

This repo is to demonstrate how to run buildah, podman and skopeo in portable VM
https://github.com/pexmor/fedora-container-in-vm

buildah fedora kvm libvirt podman skopeo vagrant

Last synced: 2 months ago
JSON representation

This repo is to demonstrate how to run buildah, podman and skopeo in portable VM

Awesome Lists containing this project

README

          

# Fedora VM for podman

__TL;DR:__ jump into the running VM with tools ready.

```bash
# run and provision the VM
vagrant up

# enter the VM
vagrant ssh
```

__Note:__ It is __crucial__ to have at least __1 GB__ of RAM allocated for the VM. Otherwise, you might encounter strange behaviour caused by __OOM kill__.

## All-in-One Vagrant setup

This directory is a reference cloud image with container tools
```podman```, ```skopeo``` and ```buildah```
installed. This [Vagrantfile](Vagrantfile) creates a VM with ```nfs-tools``` installed so you can use the VM for independent builds with an option to share artefacts using __NFS__.

### Test it

extracted from [https://docs.fedoraproject.org/en-US/iot/buildah/](https://docs.fedoraproject.org/en-US/iot/buildah/)

```bash
buildah from fedora
buildah run fedora-working-container dnf install httpd -y
echo "