共计 413 个字符,预计需要花费 2 分钟才能阅读完成。
make new container
docker run -d --name shop -p 8089:80 -v /root/soft/php/uploads.ini:/usr/local/etc/php/conf.d/uploads.ini wordpress
-d forever running
--name named
-p port,Map port 80 to port 8089
-v Mount file Local configuration to the php configuration file
wordpress Image name
view logs of container
docker logs shop
running of containers
docker ps -a
stop container
docker stop shop
pull Image
docker pull wordpress::lastest
remove container
docker remove container_name
END