Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Robin Thoni 50d8f492dd README 7 anos atrás
.gitignore init 8 anos atrás
Dockerfile init 8 anos atrás
README.md README 7 anos atrás
docker-php-ext-configure init 8 anos atrás
docker-php-ext-enable init 8 anos atrás
docker-php-ext-install init 8 anos atrás
php-cli.ini init 8 anos atrás

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)