Public Repository

Last pushed: 2 years ago
Short Description
nginx+php5
Full Description

[password]

ubuntu

ssh root@docker inspect -f '{{ .NetworkSettings.IPAddress }}' web1

root@server2:~# cat new.sh

#!/bin/bash

img=$1

name=$2

port=$3

ips=$4

for ip in $ips

do

for p in $port

do

pp="$pp -p $ip:$p:$p"

done

done

cmd="docker run -i -t -d -v /data/$name:/data $pp -h='$name.msgto.com' --name='$name' $img /usr/bin/supervisord"

echo $cmd

Docker Pull Command
Owner
yrdkiller