Changes

Jump to: navigation, search

Docker

206 bytes added, 22:08, 23 June 2018
How to use composition
==How to use composition==
 
<syntaxhighlight lang="C++">
FROM wordpress:latest
COPY ["./example.html","/var/www/html/example.html"]
VOLUME /var/www/html
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["apache2-foreground"]
</syntaxhighlight>
docker-compose.yml
 
 
<syntaxhighlight lang="C++">
wordpress:

Navigation menu