LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-01-2018, 06:25 AM   #1
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740
getting started with container on RHEL 7.5 (server)


What is required to get started with docker on RHEL 7.5 server

I am running the tutorial examples from RHEL
https://access.redhat.com/documentat...m_a_dockerfile

but nothing works as it should.

running
Code:
docker run --rm registry.access.redhat.com/rhel7/rsyslog  ls /root/buildinfo
brings
Code:
ls: cannot open directory /root/buildinfo: Permission denied
and changing/runnign yum inside a docker container does also not work

any Red Hat experts here that know this problem?
 
Old 10-01-2018, 10:26 AM   #2
bradvan
Member
 
Registered: Mar 2009
Posts: 309

Rep: Reputation: 59
Is your docker container running and are you running the commands as root?
 
Old 10-01-2018, 12:53 PM   #3
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Original Poster
Rep: Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740
I can run docker containers, but strangely, when I run those from the red hat regestry, I have no permissions in them at all, even if I run a bash shell interactive, ls says permission denied.

tried of course also as root (via sudo)
but I added me, for convenience and since this is not a production machine, to the dockerroot group. but this should make no difference

there must be a problem with the license exported into the container? or something, but I do not understand, this server is registered (self supporting since it's just a test/learning installation)
 
Old 10-02-2018, 05:46 AM   #4
bradvan
Member
 
Registered: Mar 2009
Posts: 309

Rep: Reputation: 59
Did you follow 1.7.4. User namespaces options? If so, I wonder if your mappings are causing the problem? Did you open a ticket with Red Hat?
 
Old 10-03-2018, 10:42 AM   #5
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Original Poster
Rep: Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740
I understood this to be optional, and I since I can not do anything as root also, I think this is not related
I will test on a different machine, maybe it works different on a Developer Suite installation, will see
 
Old 10-08-2018, 06:09 PM   #6
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,350
Blog Entries: 36

Rep: Reputation: Disabled
https://www.cyberciti.biz/faq/instal...centos7-linux/
https://docker-curriculum.com
 
Old 11-09-2018, 03:10 PM   #7
mltvsk1
LQ Newbie
 
Registered: Nov 2018
Posts: 9

Rep: Reputation: 0
thanks for this post
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Tomcat 8 is not getting started after reboot in RHEL 7.4 amperenaushad Linux - Newbie 1 08-30-2017 08:41 AM
Would Container technology help to satisfy multiple dependencies for a RHEL OS? JockVSJock Linux - Enterprise 7 04-03-2017 01:02 PM
LXer: Red Hat to ship RHEL 7 release candidate with a taste of container tech LXer Syndicated Linux News 0 04-16-2014 12:31 PM
Linux Container RHEL OS template ruejos08 Linux - Distributions 1 07-30-2013 01:55 PM

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

All times are GMT -5. The time now is 10:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration