@maorongrong
2015-05-18T11:58:53.000000Z
字数 1646
阅读 743
SPECweb2009 docker 毕设 原创
[amy@localhost ~]$ sudo docker imagesREPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZEwebser_good latest 7d57ddb2a172 5 days ago 1.463 GBbesim_good latest 33966bb5b5db 5 days ago 1.056 GBwebser_done latest ba87b9adeb42 2 weeks ago 1.462 GBbesim_done latest 9061dbe58d8e 2 weeks ago 1.056 GBtpcw1.0 2 807a4251848d 4 weeks ago 3.558 GBcsphere/csphere 0.9.1 111b2802d2fc 7 weeks ago 61.78 MBcsphere/csphere latest 111b2802d2fc 7 weeks ago 61.78 MBurelx/centos6-epel latest 7871f0e862fd 11 weeks ago 228.1 MB[amy@localhost ~]$ sudo docker run -ti -P --name Besim2 33966bb5b5db /bin/bash[root@36ac0aaf89b8 /]# /usr/local/apache2/bin/apachectl start[root@36ac0aaf89b8 /]# source /etc/profile[root@282e3ac0b681 bin]# perl test_besim_bank.pl http://127.0.0.1/fcgi-bin/besim_fcgi.fcgi[root@282e3ac0b681 bin]# perl test_besim_ecom.pl http://127.0.0.1/fcgi-bin/besim_fcgi.fcgi[root@282e3ac0b681 bin]# perl test_besim_errs.pl http://127.0.0.1/fcgi-bin/besim_fcgi.fcgi[root@282e3ac0b681 bin]# perl test_besim_support.pl http://127.0.0.1/fcgi-bin/besim_fcgi.fcgi[root@282e3ac0b681 bin]# /usr/local/apache2/bin/apachectl restart
[amy@localhost ~]$ sudo docker run -ti -P --name webserver2 -v /home/amy/ap2_ht2:/usr/local/apache2/htdocs 7d57ddb2a172 /bin/bash[root@b47067cebb97 /]# cd /usr/local/apache2/htdocs/[root@b47067cebb97 htdocs]# lltotal 20drwxrwxrwx 6 root root 4096 Apr 28 02:51 bankdrwxrwxrwx 6 root root 4096 Apr 28 08:10 ecommerce-rwxrwxrwx 1 root root 45 Apr 24 06:11 index.html-rwxrwxrwx 1 root root 20 Apr 24 06:04 phpinfo.phpdrwxrwxrwx 4 root root 135 Apr 29 03:32 Smartydrwxrwxrwx 7 root root 4096 Apr 29 06:30 support[root@b47067cebb97 htdocs]# cd -/[root@b47067cebb97 /]# source /etc/profile[root@b47067cebb97 /]# /usr/local/apache2/bin/apachectl start
