{"id":31932879,"url":"https://github.com/bootc-dev/bcvk","last_synced_at":"2025-10-14T05:28:52.029Z","repository":{"id":312476673,"uuid":"968110320","full_name":"bootc-dev/bcvk","owner":"bootc-dev","description":null,"archived":false,"fork":false,"pushed_at":"2025-10-01T14:56:37.000Z","size":1226,"stargazers_count":25,"open_issues_count":7,"forks_count":3,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-10-01T16:37:44.121Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bootc-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-17T14:21:52.000Z","updated_at":"2025-10-01T14:56:41.000Z","dependencies_parsed_at":"2025-09-22T23:28:26.871Z","dependency_job_id":null,"html_url":"https://github.com/bootc-dev/bcvk","commit_stats":null,"previous_names":["cgwalters/bootc-kit","cgwalters/bcvk","bootc-dev/bcvk"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bootc-dev/bcvk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootc-dev%2Fbcvk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootc-dev%2Fbcvk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootc-dev%2Fbcvk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootc-dev%2Fbcvk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bootc-dev","download_url":"https://codeload.github.com/bootc-dev/bcvk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootc-dev%2Fbcvk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018015,"owners_count":26086235,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-14T05:28:50.677Z","updated_at":"2025-10-14T05:28:52.022Z","avatar_url":"https://github.com/bootc-dev.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bcvk - bootc virtualization kit\n\nThis project helps launch ephemeral VMs from bootc containers, and also create\ndisk images that can be imported into other virtualization frameworks.\n\n## Installation\n\nFor now `git clone \u0026\u0026 cargo build --release`.\n\n## Quick Start\n\n### Running a bootc container as ephemeral VM \n\nThis doesn't require any privileges, it's just a wrapper\nfor `podman`. It does require a virt stack (qemu, virtiofsd)\nin the host environment.\n\n```bash\nbcvk ephemeral run -d --rm -K --name mytestvm quay.io/fedora/fedora-bootc:42\nbcvk ephemeral ssh mytestvm\n```\n\nOr to fully streamline the above and have the VM automatically terminate when you exit\nthe SSH client:\n\n```bash\nbcvk ephemeral run-ssh quay.io/fedora/fedora-bootc:42\n```\n\nEverything with `bcvk ephemeral` creates a podman container that reuses the\nhost virtualization stack, and\n\n### Creating a persistent bootable disk image from a container image\n```bash\n# Install bootc image to disk\nbcvk to-disk quay.io/centos-bootc/centos-bootc:stream10 /path/to/disk.img\n```\n\n### Image management\n\nThere's a convenient helper function which filters by all container images\nwith the `containers.bootc=1` label: `bcvk images list`\n\n### libvirt integration\n\nThe libvirt commands provide comprehensive integration with libvirt infrastructure for managing bootc containers as persistent VMs.\n\n#### Running a bootc container as a libvirt VM\n\n```bash\n# Basic libvirt VM creation with default settings (2GB RAM, 2 CPUs, 20GB disk)\nbcvk libvirt run quay.io/fedora/fedora-bootc:42\n\n# Custom VM with specific resources and name\nbcvk libvirt run --name my-fedora-vm --memory 4096 --cpus 4 --disk-size 50G quay.io/fedora/fedora-bootc:42\n\n# Run VM with port forwarding and volume mounts\nbcvk libvirt run --name web-server --port 8080:80 --volume /host/data:/mnt/data quay.io/centos-bootc/centos-bootc:stream10\n\n# Run VM in background and automatically SSH into it\nbcvk libvirt run --detach --ssh --name test-vm quay.io/fedora/fedora-bootc:42\n```\n\n#### Managing libvirt VMs\n\n```bash\n# List all bootc-related libvirt domains\nbcvk libvirt list\n\n# SSH into a running VM\nbcvk libvirt ssh my-fedora-vm\n\n# Stop a running VM\nbcvk libvirt stop my-fedora-vm\n\n# Start a stopped VM\nbcvk libvirt start my-fedora-vm\n\n# Get detailed information about a VM\nbcvk libvirt inspect my-fedora-vm\n\n# Remove a VM and its resources\nbcvk libvirt rm my-fedora-vm\n```\n\n#### Advanced libvirt workflows\n\n```bash\n# Upload a pre-built disk image to libvirt storage\nbcvk to-disk quay.io/fedora/fedora-bootc:42 /tmp/fedora.img\nbcvk libvirt upload /tmp/fedora.img --name fedora-base\n\n# Create a domain from uploaded image\nbcvk libvirt create fedora-base --name my-vm --memory 8192\n\n# Run with custom filesystem and network settings\nbcvk libvirt run --filesystem xfs --network bridge quay.io/centos-bootc/centos-bootc:stream10\n```\n\n## Goals\n\nThis project aims to implement part of\n\u003chttps://gitlab.com/fedora/bootc/tracker/-/issues/2\u003e.\n\nBasically it will be \"bootc virtualization kit\", and help users\nrun bootable containers as virtual machines.\n\nRelated projects and content:\n\n- https://github.com/coreos/coreos-assembler/\n- https://github.com/ublue-os/bluefin-lts/blob/main/Justfile\n\n## Development\n\nSee [docs/HACKING.md](docs/HACKING.md).\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbootc-dev%2Fbcvk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbootc-dev%2Fbcvk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbootc-dev%2Fbcvk/lists"}