Changes

Docker

378 bytes added, 21:24, 24 June 2018
How to use docker-compose
786fb7da1ca7 mariadb "docker-entrypoint..." About a minute ago Up About a minute 3306/tcp wp2-example_db_1
</pre>
 
==docker-compose.yml syntax==
 
There are three major versions of compose file format.
 
===Version 1.0===
 
'''build''':<br>
In version 1 file format, build is different in two ways:
* Only the string form (build: .) is allowed - not the object form that is allowed in Version 2 and up.
* Using build together with image is not allowed. Attempting to do so results in an error.
==Good to know==