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
- Host: GitHub
- URL: https://github.com/pexmor/fedora-container-in-vm
- Owner: PexMor
- License: mit
- Created: 2019-08-28T08:03:07.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-01T11:15:27.000Z (almost 7 years ago)
- Last Synced: 2025-10-25T06:28:40.383Z (8 months ago)
- Topics: buildah, fedora, kvm, libvirt, podman, skopeo, vagrant
- Language: Shell
- Size: 23.4 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 "