correct comment
This commit is contained in:
1 parent
28a9d86c7e
commit
c8ecfec211
1 file changed
+3
-2
@@ -147,8 +147,9 @@ docker_bridge_ip() {
|
|||||||
|
|
||||||
# the following borrows from https://github.com/jpetazzo/pipework
|
# the following borrows from https://github.com/jpetazzo/pipework
|
||||||
|
|
||||||
# run args $2 $3 ... as a command in the network namespace of container $1
|
# set $NETNS to the network namespace of container $1, and execute
|
||||||
# if an error is caused by container dying, swallow output from error
|
# args $2 $3 ... as a command. If an error is caused by container
|
||||||
|
# dying, swallow output from error.
|
||||||
with_container_netns () {
|
with_container_netns () {
|
||||||
CONTAINER="$1"
|
CONTAINER="$1"
|
||||||
CONTAINER_PID=$(docker inspect --format='{{ .State.Pid }}' $CONTAINER)
|
CONTAINER_PID=$(docker inspect --format='{{ .State.Pid }}' $CONTAINER)
|
||||||
|
|||||||
Reference in new issue
Block a user