git://scientific.zcu.cz
/
virtualization.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22eb06e
)
Better no public IPv4 (it's very problematic to let docker handle network).
author
František Dvořák
<valtri@civ.zcu.cz>
Wed, 3 Feb 2016 21:01:14 +0000
(22:01 +0100)
committer
František Dvořák
<valtri@civ.zcu.cz>
Wed, 3 Feb 2016 21:01:14 +0000
(22:01 +0100)
docker.sh
patch
|
blob
|
blame
|
history
diff --git
a/docker.sh
b/docker.sh
index
fdbe05c
..
c9974cd
100755
(executable)
--- a/
docker.sh
+++ b/
docker.sh
@@
-117,10
+117,10
@@
docker run -itd \
${IMAGE} \
/sbin/init
-# ==== public IPv4 ====
-if [ x"${DOCKER_network}" != x"bridge" ]; then
- docker network connect bridge ${FACTER_hostname}
-fi
+#
#
==== public IPv4 ====
+
#
if [ x"${DOCKER_network}" != x"bridge" ]; then
+
#
docker network connect bridge ${FACTER_hostname}
+
#
fi
# ==== public IPv6 ====
dev=veth`devname`