-
To test `docker stack deploy --compose-file` function, I load one of my sample `docker-compose.yml`:
```yaml
version: '3'
services:
nginx:
image: "${DOCKER_USER}/lnmp-nginx:v1.2"
…
-
你们需要什么 PHP 扩展加入到本项目的 PHP Docker 镜像中?
https://github.com/khs1994-docker/lnmp/blob/master/docs/php.md
-
你好,我浏览到你hyt7212/lwphp docker, 可以看下这个构建代码吗?
[docker hub](https://hub.docker.com/r/hyt7212/lwphp/) ,访问bitbucket 受限了。
-
## Dockerfile
虽然我们确实能快速搭建了一个 lnmp 的环境,但是每次切换宿主机时,都要执行多个步骤:
1. 启动 mysql 服务器
2. 启动 php 服务器
3. 进入 php 容器修改配置
4. 启动 nginx 服务器
怎么说都还是麻烦。如果能一键启动的话,那就更好了。
Dockerfile 就可以解决这样的问题。
要使用 D…
-
这是命令:
```
docker run -d -it --name bt_nginx --network mxd \
-p 10888:888 -p 18888:8888 \
-v /www/docker/bt_nginx/wwwroot:/www/wwwroot \
-v /www/docker/bt_nginx/mysql_data:/www/server/data \…
-
#### Docker
>Docker 通过 Dockerfile 来对环境进行描述,通过镜像进行交付,使用时不再需要关注环境不一致相关的问题。
***
>初始一个lamp容器
```bash
docker search lamp
docker pull
// 绑定本地当前目录下的/www/ 到 docker 容器的/srv/http
// 将本地端口443(左侧443…
-
记录网络应用、网站建设等相关笔记。
> 区分:这里只涉及TCP/IP协议族的最顶层:Application Layer, 即应用层。较底层的TCP、UDP、IP等都在另一篇中记录。
## 涉及内容
- [x] HTTP Server (Web Server)
- [x] Nginx
- [ ] Apache
- [x] General Webapp Framew…
-
test
-
人生其实是一盘棋,一招一式都要提前规划好,走一步至少看三步,尽量减少错误,尽量减少一时的心血来潮,所谓的“浪子回头”不过是粉饰当时的傻逼,根本没有什么卵的意义,更不值得原谅。这个社会总是过分夸大金钱的作用,忽略了做人基本的原则,尤其对有钱的男人,犯过的错好像都不是事儿,有钱的男人出轨叫做追求自我追求真爱,其实错就是错,跟有没有钱没有一毛钱的关系。我每次说到这个问题就一堆人跳出来反驳,但我还是得说,…
-
- 镜像名称:khs1994/php:8.2.0-fpm-alpine
- 镜像链接:https://hub.docker.com/layers/khs1994/php/8.2.0-fpm-alpine/images/sha256-8ea052b0b8a58a5a56b21c19821f63175a4157a04639e99db80f17596e9f94ad?context=explore
-…