[PLDWWW] page changed: packages:lxc-docker

"Elan Ruusamäe (glen)" glen at pld-linux.org
Sun Sep 15 03:14:36 CEST 2013


add net.ipv4.ip_forward note

--- https://www.pld-linux.org/packages/lxc-docker?rev=1377800223
+++ https://www.pld-linux.org/packages/lxc-docker
@@ -2,8 +2,25 @@
  
  [[https://www.docker.io/|Docker, The Linux container engine]] is an open source project to pack, ship and run any application as a lightweight container.
  
  Have look at Docker [[https://www.docker.io/gettingstarted/|getting started]].
+ 
+ ===== Network Configuration ===== 
+ 
+ IPv4 packet forwarding is disabled by default in PLD Linux, so internet access from inside
+ the container will not work unless ''net.ipv4.ip_forward'' is enabled:
+ 
+    WARNING: IPv4 forwarding is disabled.
+ 
+ To fix, run:
+ 
+    sudo sysctl -w net.ipv4.ip_forward=1
+ 
+ 
+ Or, to enable it more permanently, enable it on the host's **/etc/sysctl.conf**:
+ 
+     net.ipv4.ip_forward=1
+ 
  
  ===== PLD Base image =====
  
  Simple script to create new base image for pld:


Diff URL:
  https://www.pld-linux.org/packages/lxc-docker?do=diff&r1=1377800223&r2=1379207675
-- 
This mail was generated by DokuWiki at
https://www.pld-linux.org/


More information about the pld-cvs-commit mailing list