Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker push gives me a 405 method not supported #406

Open
ghost opened this issue Sep 12, 2020 · 0 comments
Open

Docker push gives me a 405 method not supported #406

ghost opened this issue Sep 12, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Sep 12, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants