LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Containers
User Name
Password
Linux - Containers This forum is for the discussion of all topics relating to Linux containers. Docker, LXC, LXD, runC, containerd, CoreOS, Kubernetes, Mesos, rkt, and all other Linux container platforms are welcome.

Notices


Reply
  Search this Thread
Old 09-29-2022, 10:36 AM   #1
NewRH
LQ Newbie
 
Registered: Sep 2022
Posts: 18

Rep: Reputation: 0
Attach image to a container


Hello everyone,

I have just started to learn about container management in RHEL and I have a problem with attaching images. This is how I am writing the command, to launch a container with host port 10000 mapped to container port 80, attaching the latest version of ubi7 image:

podman run 10000:80 --name container1 ubi7

However, I get back a message prompting me to select another image. Choosing from the list of available images I get the following error message: Error: initializing source docker://registry.access.redhat.com/10000:80: reading manifest 80 in registry.access.redhat.com/10000: name unknown: Repo not found

I do not know how to solve this and attach an image I have already downloaded or the ubi7.

Thank you in advance!
 
Old 05-18-2023, 04:27 AM   #2
MakeTopSite
Member
 
Registered: Jan 2021
Location: EU
Distribution: Ubuntu, openSUSE Leap & TW, Devuan, Debian
Posts: 257

Rep: Reputation: 3
Quote:
Originally Posted by NewRH View Post
Hello everyone,

I have just started to learn about container management in RHEL and I have a problem with attaching images. This is how I am writing the command, to launch a container with host port 10000 mapped to container port 80, attaching the latest version of ubi7 image:

podman run 10000:80 --name container1 ubi7

However, I get back a message prompting me to select another image. Choosing from the list of available images I get the following error message: Error: initializing source docker://registry.access.redhat.com/10000:80: reading manifest 80 in registry.access.redhat.com/10000: name unknown: Repo not found

I do not know how to solve this and attach an image I have already downloaded or the ubi7.

Thank you in advance!
Can you please confirm you have enough privileges ? Any message in logs ? Did you try disable firewall ?
 
Old 08-13-2023, 06:02 AM   #3
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by NewRH View Post
Hello everyone,

I have just started to learn about container management in RHEL and I have a problem with attaching images. This is how I am writing the command, to launch a container with host port 10000 mapped to container port 80, attaching the latest version of ubi7 image:

podman run 10000:80 --name container1 ubi7

However, I get back a message prompting me to select another image. Choosing from the list of available images I get the following error message: Error: initializing source docker://registry.access.redhat.com/10000:80: reading manifest 80 in registry.access.redhat.com/10000: name unknown: Repo not found

I do not know how to solve this and attach an image I have already downloaded or the ubi7.

Thank you in advance!
Reinstall podman and try again
 
Old 08-16-2023, 07:59 AM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,671
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
"Repo not found" suggests to me some kind of problem in the text of a configuration file which the command must reference in order to try to find what you are looking for. (He said, waving his hands in the air ...) Not a "privilege" or "firewall" issue.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to attach Cdrom to docker container burgas Linux - Newbie 4 09-08-2021 10:27 AM
LXer: Meet Super Container OS, a Debian-Based Live Distro with a Built-In Container Engine LXer Syndicated Linux News 0 08-04-2020 11:24 AM
linux container host os and container os question jzoudavy Linux - Newbie 1 09-01-2015 05:21 AM
LXer: Inside the Open Container Project: How Docker plans to unite the container market LXer Syndicated Linux News 0 06-23-2015 04:30 AM
LXer: Tips and tricks: How do I use the "xm block-attach" command to attach additiona LXer Syndicated Linux News 0 08-21-2007 12:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Containers

All times are GMT -5. The time now is 11:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration