You can develop Amon2 web applications without contaminating the environment of your host computer.
$ docker-compose build
$ docker run -v $(pwd):/webapp amon2docker_web carton install
$ docker-compose up
Access to localhost:5000
in your browser after run the application.
Rewrite the files for your application as you wish.