标签:
docker create -it --name mongodb mongo/myubuntu1.4 docker start mongodb
docker exec -it mongodb bash iptables -t nat -A POSTROUTING -s 10.126.253.2 -j SNAT --to 10.126.253.73
docker stop mongodb docker commit mongodb base/mongodb_2.4.9
docker rm mongodb docker save base/mongodb_2.4.9 > mongodb_2.4.9.tar
标签:
原文地址:http://www.cnblogs.com/sayaoailun/p/4708286.html