Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
Robin Thoni 50d8f492dd README vor 7 Jahren
.gitignore init vor 8 Jahren
Dockerfile init vor 8 Jahren
README.md README vor 7 Jahren
docker-php-ext-configure init vor 8 Jahren
docker-php-ext-enable init vor 8 Jahren
docker-php-ext-install init vor 8 Jahren
php-cli.ini init vor 8 Jahren

README.md

Docker for php 7.0 with ssh

Why?

This docker file allows you to run php 7.0 scripts on any server configuration. This is useful if you have to run tests or composer commands that require php 7.0. See docker help for more information.

Usage

Build the image:

git clone https://git.rthoni.com/robin.thoni/docker-php7.0-ssh
cd docker-php7.0-ssh
docker build -t php7.0-ssh .

Run a container:

docker run -d -v /path/to/my/php/application/:/data/ -p 2200:22 --name=container-my-php-application-ssh php7.0-ssh

Connect to the container:

ssh root@127.0.0.1 -o Port=2200 # password is 'toor' (without quotes)