virtual machine - Multiple applications running simultaneously on a single Docker image -


suppose have webserver , database server installed on same common docker image, possible run them simultaneously, if running inside same virtual machine?

is running docker run <args> twice best practice use case?

you should not use single image web server , database. should use 1 image web server , 1 database.

to run this, run database server , run webserver , link database server.

there many examples on internet. i'll leave 1 here : https://github.com/saada/docker-compose-php-mysql


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -