docker run --name mysql -e MYSQL_ROOT_PASSWORD=secret -d mysql:5.7
docker run --name ocs --link mysql:mysql -d -p 80:80 -e OCS_DBHOST=mysql -e OCS_DBNAME=ocs -e OCS_DBUSER=root -e OCS_DBPASS=secret netyazilim/ocs-inventory
Other Docker images
https://github.com/OCSInventory-NG/OCSInventory-Docker-Image