拉取镜像
docker push lx870433758/hyperf:v1
运行镜像并进入doc
docker run --name php-web -v /www/docker/medicine:/home/www/medicine -p 9501:9501 -it --entrypoint /bin/sh lx870433758/hyperf:v1
启动supervisor守护运行
/usr/bin/supervisord -c /etc/supervisord.conf
或者手动运行
cd /home/www/medicine
php bin/hyperf.php start
FROM lx870433758/hyperf:v1
MAINTAINER xander '[email protected]'
ENTRYPOINT ["/usr/bin/supervisord", "-n", "-c", "/etc/supervisord.conf"]
Content type
Image
Digest
Size
49.4 MB
Last updated
over 6 years ago
docker pull lx870433758/hyperf:v1