Docker – n equivalent for docker testing something like tox for Python

continuous integrationdocker

tox allows you to test your code against different versions of Python. Is there something out there similar to tox that allows me to test my deployment code against different version of a distribution say like centos 7, 6.8, 6.5 etc ?

Best Answer

In most cases you would use some kind of Continuous Integration (CI) service, mostly coupled with some kind of version control system (VCS).

An example would be GitLab with GitLab CI or Gogs with drone.io. They use Docker containers to run your code and you can run your code in containers of different distributions.

Related Topic