Skip to content
This repository was archived by the owner on Sep 5, 2025. It is now read-only.
This repository was archived by the owner on Sep 5, 2025. It is now read-only.

Docker push gives me a 405 method not supported #406

@ghost

Description

Expected Behavior

Docker push should push an image to the configured registry

Current Behavior

Docker push gives a 405 method not supported

Possible Solution

Honestly not sure, I have looked at a number of articles around this issue, ranging from adding

RequestHeader set X-Forwarded-Proto https

to /etc/httpd/conf.d/pulp_docker.conf but that gave no effect.

Steps to Reproduce

Katello was initially installed with the following options

 --katello-enable-docker false --katello-enable-puppet false --katello-enable-ostree false

then re-enabled after

/sbin/foreman-installer --katello-enable-docker true

Create a product, then add a repo with type docker and minimal settings.
then try a docker push

docker push katello.redacted.com:5000/kubernetes_docker_registry-kubernetes-prod/app-dashboard-frontend:latest
The push refers to repository [katello.redacted.com:5000/kubernetes_docker_registry-kubernetes-prod/app-dashboard-frontend]
280d4bf6bb7d: Preparing
2b516b05286b: Preparing
6ad8d562c843: Preparing
425ee8569962: Preparing
5d9ee84be1ec: Preparing
6bcd003260b2: Waiting
50644c29ef5a: Waiting
error parsing HTTP 405 response body: invalid character '<' looking for beginning of value: "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2 Final//EN\">\n<title>405 Method Not Allowed</title>\n<h1>Method Not Allowed</h1>\n<p>The method is not allowed for the requested URL.</p>\n"

Context (Environment)

Running a docker push from my laptop a MAC and pushing to the server
Katello 3.14
foreman 1.23

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions