All Projects → jedahan → podman-desktop

jedahan / podman-desktop

Licence: other
launch and setup vms for podman

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to podman-desktop

microk8s-kata-containers
Kata Containers with MicroK8s
Stars: ✭ 32 (+14.29%)
Mutual labels:  podman
autoportforward
Bidirectional port-forwarding for docker, podman and kubernetes
Stars: ✭ 282 (+907.14%)
Mutual labels:  podman
gnome-shell-extension-sermon
A GNOME Shell extension for monitoring and managing systemd services, cron jobs, docker and poman containers
Stars: ✭ 27 (-3.57%)
Mutual labels:  podman
docker-suricata
A Suricata Docker image.
Stars: ✭ 120 (+328.57%)
Mutual labels:  podman
Podman Compose
a script to run docker-compose.yml using podman
Stars: ✭ 2,414 (+8521.43%)
Mutual labels:  podman
vs-code-container-with-ssl
Launch your own Code Server container with preloaded SDKs for React, Python, C#, Cloud CLIs, secured by SSL Reverse Proxy.
Stars: ✭ 54 (+92.86%)
Mutual labels:  podman
snc
Single Node Cluster creation scripts for OpenShift 4.x as used by CodeReady Containers
Stars: ✭ 84 (+200%)
Mutual labels:  podman
docker-pushrm
"Docker Push Readme" - a Docker CLI plugin to update container repo docs
Stars: ✭ 100 (+257.14%)
Mutual labels:  podman
distrobox
Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
Stars: ✭ 4,371 (+15510.71%)
Mutual labels:  podman
windows-docker-desktop-box
Vagrant box to test Docker Desktop with Linux/Windows containers
Stars: ✭ 17 (-39.29%)
Mutual labels:  docker-desktop
X11docker
Run GUI applications and desktops in docker and podman containers. Focus on security.
Stars: ✭ 3,797 (+13460.71%)
Mutual labels:  podman
Kind
Kubernetes IN Docker - local clusters for testing Kubernetes
Stars: ✭ 8,932 (+31800%)
Mutual labels:  podman
podman-gitlab-runner
Use Podman as a custom executor for your Gitlab CI
Stars: ✭ 87 (+210.71%)
Mutual labels:  podman
udm-utilities
A collection of things I have made to make the Unifi Dream Machine more useful
Stars: ✭ 2,228 (+7857.14%)
Mutual labels:  podman
pyrex
Seamless container setup for developing with OpenEmbedded/Yocto Project
Stars: ✭ 27 (-3.57%)
Mutual labels:  podman
molecule-podman
Molecule Podman Driver allows use of podman as backend for testing.
Stars: ✭ 48 (+71.43%)
Mutual labels:  podman
fosdem20
Demo material used for the Podman talk at FOSDEM 2020
Stars: ✭ 22 (-21.43%)
Mutual labels:  podman
podman-py
Python bindings for Podman's RESTful API
Stars: ✭ 140 (+400%)
Mutual labels:  podman
podman-static
static podman binaries and container image
Stars: ✭ 108 (+285.71%)
Mutual labels:  podman
coretoolbox
"pet container" tool using podman
Stars: ✭ 22 (-21.43%)
Mutual labels:  podman

podman-desktop

podman runs on linux, so this script spins up a virtual linux machine, and configures podman to use it as a remote host.

Screen Shot 2021-09-03 at 11 22 37 AM

Requires muiltipass and podman

brew install multipass podman

Setup a vm for podman. Values shown here are defaults. Mounts are the same as Docker Desktop.

podman-desktop \
  --name podman \
  --identity ~/.ssh/podman \
  20.04

If you'd like to pass any other params to multipass launch, just put them after --

podman-desktop -- --cpus 3  --mem 3G --network <spec>

By default, podman-desktop will mount the same folders as Docker Desktop.

If you'd like to change the default mounts, set the MOUNTS variable to an array

If you'd like to mount nothing, (for example, due to sshfs_server cpu usage) set MOUNTS to an empty string.

Image building with buildkit

Podman builds are considerably slower compared to Docker builds. One way to mitigate this is to use buildkit. Multipass instances provisioned with podman-desktop already contain a ready-to-go buildkit daemon. All you need to do is use the buildkit-cli from your host system:

buildctl \
	--addr=tcp://$(shell multipass info podman --format json | jq -r ".info.podman.ipv4[]"):1234 \
	build \
	--frontend dockerfile.v0 \
	--local context=. \
	--local dockerfile=. \
	--output type=oci,name="thisgetsignored:imagename" \                                                                                               
	| podman load

Please note, the resulting image will be localhost/imagename:latest, because Buildkit does not seem write OCI compliant image annotations.

Thank you

Thank you to @heussd for adding buildkit support

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].