This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
1
Docker as a dev environment
Post Body
I have a legacy app which breaks horribly in PHP 7.x, which we're moving to. I need to do two things:
- Keep the existing (ancient) codebase running in production.
- Set up a dev environment (PHP 5.6, with PEAR's MDB2)
The idea is to refactor the app. Eventually it should be able to run natively under PHP 7.x, but in order to get it there I'll need to be able to test my changes as I go along (hence requiring a PHP 5.6 dev environment initially).
In order to make this work, I need to be able to do the following things:
- Have PEAR and MDB2 working.
- Successfully connect to a MySQL server running on a host outside the container.
- Be able to work on the application files without having to rebuild the docker image every time I need to test a change.
Is Docker the right tool for this?
Post Details
We try to extract some basic information from the post title. This is not
always successful or accurate, please use your best judgement and compare
these values to the post title and body for confirmation.
- Posted
- 5 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/docker/comm...