Docker-Compose Summary
Last updated Jan 22, 2025
✍️ To make sure I was understanding the final version of our Docker lesson, I did two things. I first worked through this quickstart https://docs.docker.com/compose/gettingstarted/ , which gave me another example of how to use docker-compose. I then went back and made sure I could use the docker-compose YAML file we created.
Thus, I *think* these are the steps we need to take if we were starting over:
Dockerize it!
📝 From you code editor
Now we will need a Docker file and a docker-compose file. We use our Docker file to build our environment and you can find a full list of 'dictionary' options online. We use our docker-compose yaml file to create our server and container structures and then we can easily start or end the process in CLI.
Resources
📜 My repo for this summary section can be found here:
Last updated