Project

General

Profile

Actions

Bug #8637

closed

cannot pull/create containers from local registry (multi registry not working)

Added by Partha Aji almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

1) Install a local registry (I yum docker-registry, make sure you enable search and run it on 5050 for this example)
2) Tag a custom image that you ve already pulled before

docker tag fedora/ssh localhost:5050/myfedssh

3) Next push it to your local registry
docker push localhost:5050/myfedssh

4) Now login to Katello -> Containers -> Registries -> New Registry
5) Add one and point to localhost:5050
6) Go to the new container page, assuming you have a docker compute resource, Select and continue
7) Select external registry -> and select the one you created.
8) Now search for the myfedssh .. Assuming it found that select the "latest" tag
9) Continue on the next couple of screens and hit submit

Error creating container. Check the Foreman logs: Expected([200, 201, 202, 203, 204, 304]) <=> Actual(404 Not Found)

Fog error: Expected([200, 201, 202, 203, 204, 304]) <=> Actual(404 Not Found)

/home/paji/.rvm/gems/ruby-2.0.0-p598/gems/docker-api-1.15.0/lib/docker/connection.rb:59:in `block (2 levels) in &lt;class:Connection&gt;'
/home/paji/.rvm/gems/ruby-2.0.0-p598/gems/docker-api-1.15.0/lib/docker/container.rb:181:in `create'
/home/paji/centos/projects/foreman-docker/app/models/foreman_docker/docker.rb:74:in `create_container'
/home/paji/centos/projects/foreman-docker/app/controllers/containers/steps_controller.rb:70:in `start_container'
/home/paji/centos/projects/foreman-docker/app/controllers/containers/steps_controller.rb:31:in `update'
/home/paji/.rvm/gems/ruby-2.0.0-p598/gems/actionpack-3.2.21/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/home/paji/.rvm/gems/ruby-2.0.0-p598/gems/actionpack-3.2.21/lib/abstract_controller/base.rb:167:in `process_action'
/home/paji/.rvm/gems/ruby-2.0.0-p598/gems/actionpack-3.2.21/lib/action_controller/metal/rendering.rb:10:in `process_action'
/home/paji/.rvm/gems/ruby-2.0.0-p598/gems/actionpack-3.2.21/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/home

Related issues 1 (0 open1 closed)

Blocks Katello - Tracker #7125: Docker Content SupportClosedDavid Davis

Actions
Actions

Also available in: Atom PDF