Giter Club home page Giter Club logo

lima-podman's Introduction

This repository provides the templates to easily set up a podman runtime environment using lima. It uses the alpine-lima image. Some settings in these templates are derived from the original podman template.

Usage

This template can be run directly. You can start rootless and rootful podman environments with the following commands:

Start the rootless podman environment:

limactl start https://raw.githubusercontent.com/na0x2c6/lima-podman/main/podman.yaml

Start the rootful podman environment:

limactl start https://raw.githubusercontent.com/na0x2c6/lima-podman/main/podman-rootful.yaml

If necessary, you can enable vz environments and rosetta by making the following settings in ~/.lima/_config/default.yaml (this is just using the features of lima and lima-alpine, and nothing special is being done in this repository):

vmType: "vz"
mountType: "virtiofs"

rosetta:
  enabled: true
  binfmt: true

networks:
  - vzNAT: true

You can utilize the edge version of Podman by configuring the LIMA_ALPINE_PODMAN_REPOSITORY environment variable as follows:

env:
  LIMA_ALPINE_PODMAN_REPOSITORY: https://dl-cdn.alpinelinux.org/alpine/edge/community

Misc

For stability, this repository includes the following features:

  • Increases the version of qemu in the template script.
  • Sets the podman database backend to sqlite. This was supported in podman 4.5.0.

The rootless template includes installing pasta and setting default_rootless_network_cmd="pasta".

License

This project is licensed under the Apache License 2.0, the same as the lima-vm project.

lima-podman's People

Contributors

na0x2c6 avatar

Stargazers

Reto Lehmann avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.