Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create edition with podman installed #43

Closed
afbjorklund opened this issue Jan 19, 2022 · 1 comment
Closed

Create edition with podman installed #43

afbjorklund opened this issue Jan 19, 2022 · 1 comment

Comments

@afbjorklund
Copy link
Contributor

afbjorklund commented Jan 19, 2022

Podman is a container runtime, that can operate without any long-living daemons.

So there is no dockerd or containerd or buildkitd (unless you want there to be*)

https://podman.io/

Instead, there are background processes (like conmon and pause) started while running...

It can be an interesting comparison for running and building, so making another edition for it.

* for podman.sock


Basically: pkg add podman

@afbjorklund
Copy link
Contributor Author

afbjorklund commented Jan 19, 2022

You can just run podman as-is: (i.e. rootless)

lima-pm:~$ podman version
Version:      3.2.3
API Version:  3.2.3
Go Version:   go1.16.8
Git Commit:   b7fc5b608b641cd9b9aec2647f9236e31f8f3b27
Built:        Sat Sep 11 14:33:25 2021
OS/Arch:      linux/amd64

Starting the podman daemon: (sorry, "service")

lima-pm:~$ sudo /etc/init.d/podman start
 * Configured as rootful service
 * /run/podman: creating directory
 * Starting Podman API service ...        
lima-pm:~$ sudo podman --remote version
Client:
Version:      3.2.3
API Version:  3.2.3
Go Version:   go1.16.8
Git Commit:   b7fc5b608b641cd9b9aec2647f9236e31f8f3b27
Built:        Sat Sep 11 14:33:25 2021
OS/Arch:      linux/amd64

Server:
Version:      3.2.3
API Version:  3.2.3
Go Version:   go1.16.8
Git Commit:   b7fc5b608b641cd9b9aec2647f9236e31f8f3b27
Built:        Sat Sep 11 14:33:25 2021
OS/Arch:      linux/amd64
lima-pm:~$ ls /run/podman/podman.sock 
/run/podman/podman.sock

Like if you have a Docker CLI addiction, or something:

sudo apk add docker-cli
sudo DOCKER_HOST=unix:///run/podman/podman.sock docker version

Or if you need to use the REST API, and not just CLI.

make iso ALPINE_VERSION=3.14.3 EDITION=pm
91M	iso/alpine-lima-pm-3.14.3-x86_64.iso

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant