Skip to content

Latest commit

 

History

History
35 lines (30 loc) · 863 Bytes

File metadata and controls

35 lines (30 loc) · 863 Bytes

Solve Internet Access Issue Inside Container

Objective

The objective of this documentation is to solve internet access issue with conatainers.

Instructions

Log into root promt using

su -

Open /etc/sysconfig/iptables file of your base machine using any editor (here emacs is using)

emacs /etc/sysconfig/iptables

Add the following line at the end of file

- A FORWARD -J ACCEPT

Now try to ping 8.8.8.8 using

ping 8.8.8.8