docker安装phpipam
作者:互联网
[root@NMS phpipam]# docker run --name phpipam-mysql -e MYSQL_ROOT_PASSWORD=111111111 -v /home/nickzuo/phpipam:/var/lib/mysql -d mysql:5.6 89713810c610f47583fabc91e160a87a9e3a5c16046bd52e74c55af25ab7690e [root@NMS phpipam]# docker run -ti -d -p 80:80 -e MYSQL_ENV_MYSQL_ROOT_PASSWORD=111111111 --name ipam --link phpipam-mysql:mysql pierrecdn/phpipam b3a116d5bdf7233bb71e0a4df84b72504216698c214008704fbe3a7da5176c39 [root@NMS phpipam]# ls auto.cnf ibdata1 ib_logfile0 ib_logfile1 mysql performance_schema phpipam [root@NMS phpipam]# ls auto.cnf ibdata1 ib_logfile0 ib_logfile1 mysql performance_schema phpipam [root@NMS phpipam]# ls auto.cnf ibdata1 ib_logfile0 ib_logfile1 mysql performance_schema phpipam [root@NMS phpipam]# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES b3a116d5bdf7 pierrecdn/phpipam "docker-php-entrypoi 10 minutes ago Up 10 minutes 0.0.0.0:80->80/tcp, :::80->80/tcp ipam 89713810c610 mysql:5.6 "docker-entrypoint.s 11 minutes ago Up 11 minutes 3306/tcp phpipam-mysql
标签:phpipam,NMS,mysql,docker,ib,安装,80 来源: https://www.cnblogs.com/zl6536/p/14983187.html