Some basic examples on how to use Docker.
This example showcases how you can build a simple website using apache.
cd apachedocker build .ordocker build . -t <imageName>when you're ready to "tag"docker run --name <canbewhateveryouwant> --rm -d -p 80:80 <imageName>
cd drupaldocker-compose up -d- This will "deploy" your containers on your machine and build your infrastructuredocker-compose down- This will tear down all your apps.
cd phpmyadmindocker-compose up -d- This will "deploy" your containers on your machine and build your infrastructuredocker-compose down- This will tear down all your apps.
Username and password (log is as root) are provided in the docker-compose.yml file.