PHPackages                             waglpz/docker - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. waglpz/docker

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

waglpz/docker
=============

Some Dockerfiles

v1.0.0(3y ago)264MITDockerfile

Since Apr 18Pushed 3y ago2 watchersCompare

[ Source](https://github.com/waglpz/docker)[ Packagist](https://packagist.org/packages/waglpz/docker)[ RSS](/packages/waglpz-docker/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Some Dockerfiles for creating an PHP Environment
================================================

[](#some-dockerfiles-for-creating-an-php-environment)

Dockerfile -- a text file that contains all commands, in order, needed to build a docker image

- [PHP 5.6.30 on Debian 10 without webserver](php/5.6.30/Dockerfile)
- [PHP 7.4 on Debian 10 with Apache webserver](php/7.4/buster/apache/Dockerfile)
- [PHP 8.2 on Debian 11 with Apache webserver](php/8.2/bullseye/apache/Dockerfile)

Docker Engine should already be installed on you maschine. See installation instruction on:

> [What is Docker from official site](https://www.docker.com/): Docker makes development efficient and predictable Docker takes away repetitive, mundane configuration tasks and is used throughout the development lifecycle for fast, easy and portable application development – desktop and cloud. Docker’s comprehensive end to end platform includes UIs, CLIs, APIs and security that are engineered to work together across the entire application delivery lifecycle.

[Docker Engine Overview](https://docs.docker.com/engine/)

Installation
============

[](#installation)

Please refer to the online documentation for Docker engine installation

[Docker Installation](https://docs.docker.com/engine/install/)

[Docker Installation Ubuntu](https://docs.docker.com/install/linux/docker-ce/ubuntu)

Docker Installation Mint do same installation steps described by Ubuntu

with the following command to set up the repository:

```
 echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
   stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
```

Value of `` should be get on Ubuntu via command `$(lsb_release -cs)`

Setup Docker for development in new Project
===========================================

[](#setup-docker-for-development-in-new-project)

### Preparation

[](#preparation)

Provided `Dockerfile` includes all installation instructions for needed Software, and is prepared so for minimal necessary software stack, will be included after image builds. The Installing of extra software/extensions can be enabled via uncommenting some blocks which contains installation instructions.

### Project integration

[](#project-integration)

Copy `Dockerfile` you are interested e.g. [PHP 7.4 on Debian 10 with Apache webserver](php/7.4/buster/apache/Dockerfile)in Project directory, or in a specific subdirectory in Project e.g. `.docker`.

Get an Image complied from `Dockerfile` with specific tag name -t run build command

```
docker build --build-arg APPUID=$(id -u) --build-arg APPUGID=$(id -g) . -t PROJECTNAME
```

where `.` is directory wo `Dockerfile` was copied previously and `PROJECTNAME` is expected image name.

Pull docker image to docker.hub. You need username/password of

```
docker login
# enter credentials
# ...

# push image
docker push
```

### Working with Docker

[](#working-with-docker)

After image was build we could start this as a container in detached mode

```
docker run -it --rm -d -v $PWD:/app
```

and check that the container is available with command `docker ps`To open a terminal session within running container we need a `CONTAINER_ID`this one we got from output of `docker ps` command. Open terminal session `docker exec -it -u (id -u):(id -g) CONTAINER_ID bash`

Shutdown all containers

```
docker ps -aq | xargs docker stop | xargs docker rm
```

Example Build and Tagging: `docker build --build-arg APPUID=1000 --build-arg APPUGID=1000 -t waglpz/vwd-base:8.2 php/8.2/bullseye/apache/`

...

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1126d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5d2bf7e4ad2cd1a9994072f5e0d794770b5dcfc27e794e47c2e38a07352485ea?d=identicon)[waglpz](/maintainers/waglpz)

---

Top Contributors

[![waglpz](https://avatars.githubusercontent.com/u/71390207?v=4)](https://github.com/waglpz "waglpz (1 commits)")

### Embed Badge

![Health badge](/badges/waglpz-docker/health.svg)

```
[![Health](https://phpackages.com/badges/waglpz-docker/health.svg)](https://phpackages.com/packages/waglpz-docker)
```

###  Alternatives

[deployer/deployer

Deployment Tool

11.0k25.4M207](/packages/deployer-deployer)[appwrite/server-ce

End to end backend server for frontend and mobile apps.

55.3k84.2k](/packages/appwrite-server-ce)[pragmarx/health

Laravel Server &amp; App Health Monitor and Notifier

2.0k1.0M2](/packages/pragmarx-health)[felixfbecker/language-server-protocol

PHP classes for the Language Server Protocol

22476.7M6](/packages/felixfbecker-language-server-protocol)[heroku/heroku-buildpack-php

Toolkit for starting a PHP application locally, with or without foreman, using the same config for PHP and Apache2/Nginx as on Heroku

8161.3M10](/packages/heroku-heroku-buildpack-php)[tiamo/phpas2

PHPAS2 is a php-based implementation of the EDIINT AS2 standard

4674.7k](/packages/tiamo-phpas2)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
