One experiment with docker
HTML CSS JavaScript ApacheConf PHP Python
Latest commit 2112c64 Dec 30, 2016 @gonzalo123 REAME
Permalink
Failed to load latest commit information.
images initial import Dec 30, 2016
src hello.py Dec 30, 2016
.gitignore initial import Dec 30, 2016
README.md REAME Dec 30, 2016
docker-compose.yml initial import Dec 30, 2016

README.md

Time Clock.

A Docker experiment

Install php vendors

cd src/php
composer install

Install python dependencies

cd src/python
pip install

Install node dependencies

cd src/node
npm install

Run and build containers

docker-compose up --build -d

Open web browser at: http://localhost

Execute one script within existing image.

Create container execute command and destroy container

docker run -it -v /Users/gonzalo/work/experiments/docker.example/src:/mnt/src --rm gonzalo123/example_python python /mnt/src/python/hello.py