LinuxQuestions.org
Review your favorite Linux distribution.
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 03-20-2020, 02:49 AM   #16
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: A few
Posts: 4,313

Rep: Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226

Quote:
Originally Posted by venugosr View Post
As i said earlier, i have tried all the possible ways to resolve the deb.debian.org error.
I have updated the /etc/resolv.conf by entering "namesever 8.8.8.8" and "nameserver 192.168.221.1", but nothing works.
I am confused because I don't know where you do what. I fear we are mixing the Centos VM and the container that is on it.

Can you confirm the following:
- in the container, /etc/resolv.conf configures a valid nameserver, for example 192.168.221.1
- in the container, ping 192.168.221.1 or ping 8.8.8.8 succeed
- in the container, ping deb.debian.org and ping www.google.com fail

If that is the case, run tcpdump in the Centos container host and trace packets with UDP port 53 while you try to resolve deb.debian.org.

As a workaround, in the container put the address of deb.debian.org in /etc/hosts and ping it again.

There is also the possibility that /etc/nsswitch in the container is incorrect. It should have a line like this:
Code:
hosts:          files dns
 
Old 03-20-2020, 02:51 AM   #17
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: A few
Posts: 4,313

Rep: Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226
Quote:
Originally Posted by venugosr View Post
Hi,

Could someone please help me how to set the Windows IP Address in Linux as i am using VMWare.
Can you clarify what you want? The question seems to ask how you can change the IP address of the Windows host by running commands in the Centos guest. I don't think that is possible.

Perhaps you should ask a different question, as it is not related to name resolution.
 
Old 03-20-2020, 03:17 AM   #18
venugosr
LQ Newbie
 
Registered: Apr 2015
Posts: 18

Original Poster
Rep: Reputation: Disabled
Hi,

If possible could you please take remote connection and help me.

As i said im a new to dockers and containers.
 
Old 03-20-2020, 03:52 AM   #19
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: A few
Posts: 4,313

Rep: Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226
I don't know much about Docker and containers either.

Why don't you just do the tests that I suggest? I would do the same thing if I had a remote connection to your server.
 
Old 03-20-2020, 03:56 AM   #20
venugosr
LQ Newbie
 
Registered: Apr 2015
Posts: 18

Original Poster
Rep: Reputation: Disabled
as per my knowledge i have tested everything. After that only i have requested help here.
Sorry for the trouble.

I'll close this request.

Its my bad.

Thanks for your time and help.
 
  


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
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
[SOLVED] Outputting X display from inside an LXC Container charlie101 Linux - Virtualization and Cloud 1 02-04-2013 09:41 PM
Slackware network scripts inside OpenVZ container yenn Slackware 2 08-21-2012 04:19 PM
QEMU / DosEMU inside OpenVZ container kirtimaan_bkn Linux - Virtualization and Cloud 2 11-09-2010 09:59 PM

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

All times are GMT -5. The time now is 08:02 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