Tecnativa / Tecnativa/docker-socket-proxy

podman failure due to strong regex filter (pull request attached)

Open
#104 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.8k
Forks
207
PR merge metrics
No merged PRs in 30d

Description

[container@144 ~]$ CONTAINER_HOST=tcp://localhost:2375 podman container ls
Cannot connect to Podman. Please verify your connection to the Linux system using `podman system connection list`, or try `podman machine init` and `podman machine start` to manage a new Linux VM
Error: unable to connect to Podman socket: ping response was 403
[container@144 ~]$ podman container logs -f dockerproxy2 
[WARNING] 320/134849 (1) : Can't open server state file '/var/lib/haproxy/server-state': No such file or directory
Proxy dockerbackend started.
Proxy dockerfrontend started.
[NOTICE] 320/134849 (1) : New worker #1 (2) forked
10.0.2.100:40466 [17/Nov/2023:13:48:58.158] dockerfrontend dockerfrontend/<NOSRV> 0/-1/-1/-1/0 403 189 - - PR-- 1/1/0/0/0 0/0 "GET /v4.6.1/libpod/_ping HTTP/1.1"

Cause: regex filter is too strong for podman.
Remedy: Pull request #113 adds an optional url level matching the libpod keyword (or any other keyword)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review pull request #113 first, since the issue identifies it as the proposed remedy for the strong regex filter. Confirm that URL-level matching can optionally recognize the libpod keyword or another keyword, and use the Podman request shown in the issue as the completion case.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
infrastructure
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.