Closed afbjorklund closed 2 years ago
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
Podman is a container runtime, that can operate without any long-living daemons.
So there is no
dockerd
orcontainerd
orbuildkitd
(unless you want there to be*)https://podman.io/
Instead, there are background processes (like
conmon
andpause
) 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