cockpit-podman
cockpit-podman copied to clipboard
netavark (exit code 1): invalid version number starting container
Cockpit version: 300.1-1
Cockpit-podman version: Where do I find this? apt show says Version: 76-1
Podman version:podman version 4.5.1
OS: Debian testing
I can't start any containers. netavark (exit code 1): invalid version number also appears in the UI.
If you let me know
Sep 24 01:32:18 scratch podman[18068]: @ - - [24/Sep/2023:01:32:18 +1000] "GET /v1.12/libpod/containers/f54e6983f4c9540c62f9cc46fd6a7edcc5450544081d19662ea2e2b5a0156f22/logs?follow=true&stdout=true&stderr=true HTTP/1.1" 200 0 "" ""
Sep 24 01:33:28 scratch podman[18161]: [INFO netavark::firewall] Using iptables firewall driver
Sep 24 01:33:28 scratch podman[18068]: time="2023-09-24T01:33:28+10:00" level=info msg="Request Failed(Internal Server Error): netavark (exit code 1): invalid version number"
Sep 24 01:33:28 scratch podman[18068]: @ - - [24/Sep/2023:01:33:28 +1000] "POST /v1.12/libpod/containers/f54e6983f4c9540c62f9cc46fd6a7edcc5450544081d19662ea2e2b5a0156f22/start? HTTP/1.1" 500 133 "" ""
Steps to reproduce
- Install cockpit and cockpit-podman from Debian Testing packages
- Start cockpit
- Create an alpine container
- Try to start it
Can you start containers from the command line?
I've spun up a testing VM and it all seems to work fine with:
root@debian-testing-127-0-0-2-2201:~# dpkg -l | grep netavark
ii netavark 1.4.0-4 amd64 Rust based network stack for containers
root@debian-testing-127-0-0-2-2201:~# dpkg -l | grep podman
ii cockpit-podman 77-1 all Cockpit component for Podman containers
ii podman 4.6.2+ds1-2 amd64 tool to manage containers and pods
I wonder if all the dependencies are there.
This is my first exposure to podman, I'll have to check later.
Can cockpit warn when critical packages are missing?
I wonder if all the dependencies are there.
This is my first exposure to podman, I'll have to check later.
Can cockpit warn when critical packages are missing?
It does not warn, it only expects /var/run/podman/podman.sockt.
Installed podman and I can run containers from the command line.
Still cannot create and run containers as system from cockpit.
If I create a container on the command line it appears as one owned by my user account and I can start it from cockpit.