sameersbn / sameersbn/docker-gitlab

Podman + podman-compose runtime

Open
#2,550 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
8.1k
Forks
2.1k
Avg merge
17h 47m
Merged PRs (30d)
7

Description

I'm trying to run using the provided https://github.com/sameersbn/docker-gitlab/blob/master/docker-compose.yml file.
On MacOS, using podman + podman compose:

> podman-compose -v
podman-compose version: 1.0.4
['podman', '--version', '']
using podman version: 4.0.3
podman-composer version 1.0.4
podman --version
podman version 4.0.3
exit code: 0

once starting using podman-compose up, if I check the documented health of the gitlab comtainer:

> podman ps
CONTAINER ID  IMAGE                                       COMMAND               CREATED       STATUS                       PORTS                                           NAMES
0774bebd3055  docker.io/library/redis:6.2.6               --loglevel warnin...  10 hours ago  Up 10 hours ago                                                              gitlab-on-prem_redis_1
663e58feed5e  docker.io/sameersbn/postgresql:12-20200524                        10 hours ago  Up 10 hours ago                                                              gitlab-on-prem_postgresql_1
88adaad14a6d  docker.io/sameersbn/gitlab:14.10.0          app:start             10 hours ago  Up 10 hours ago (unhealthy)  0.0.0.0:10022->22/tcp, 0.0.0.0:10080->80/tcp    gitlab-on-prem_gitlab_1

> podman inspect --format "{{json .State.Health }}" 88adaad14a6d | jq
{
  "Status": "unhealthy",
  "FailingStreak": 4,
  "Log": [
    {
      "Start": "2022-04-29T01:03:27.126363083+02:00",
      "End": "2022-04-29T01:03:27.264685497+02:00",
      "ExitCode": 1,
      "Output": "/bin/sh: 1: /usr/local/sbin/healthcheck: not found"
    },
    {
      "Start": "2022-04-29T01:08:28.438295233+02:00",
      "End": "2022-04-29T01:08:28.667060096+02:00",
      "ExitCode": 1,
      "Output": "{\"error\":\"Not Found\",\"status\":404}"
    },
    {
      "Start": "2022-04-29T01:13:29.475979519+02:00",
      "End": "2022-04-29T01:13:29.645142459+02:00",
      "ExitCode": 1,
      "Output": "{\"error\":\"Not Found\",\"status\":404}"
    },
    {
      "Start": "2022-04-29T01:18:30.433809239+02:00",
      "End": "2022-04-29T01:18:30.580534008+02:00",
      "ExitCode": 1,
      "Output": "{\"error\":\"Not Found\",\"status\":404}"
    },
    {
      "Start": "2022-04-29T01:23:31.500965978+02:00",
      "End": "2022-04-29T01:23:31.858607496+02:00",
      "ExitCode": 1,
      "Output": "{\"error\":\"Not Found\",\"status\":404}"
    }
  ]
}

Any idea how to proceed?

Contributor guide

Open the contributing guide

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

Start with docker-compose.yml and the podman-compose setup described in the report, then inspect the GitLab container's health-check output and the documented podman inspect command. Compare the reported /usr/local/sbin/healthcheck and 404 failures with the container's runtime behavior; done means identifying and documenting the cause or a verified way to run the stack successfully with Podman.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.