If you’re a developer, chances are that you’ve heard of the buzzword containers, but do you really know what they are and how to use them? This guide to Docker Compose will teach you everything you need to know about this handy tool, including how to build a good Docker Compose file. Using containers can make your development process faster and easier!
Setting up your dev environment
1) Right-click on the Desktop or in any folder.
2) Click Properties, and then click the Advance System Settings button.
3) Click the Hardware tab, and then click Power Options.
4) Click Change when power is applied, and select Turn off system beeps . 5) Click Change advanced power settings . Select Hibernate after.
Creating the docker-compose.yml file
: powercfg /h off. In Windows Vista and earlier versions of Windows, disable the Hibernate function from running automatically by going to Control Panel > Power Options > Choose what the power buttons do, uncheck Hibernate (click on Change settings that are currently unavailable), click Apply then OK.
Completing the docker-compose.yml file
Deleting this file will not affect the system other than taking up a few gigabytes of hard drive space which you might need when you’re working on certain projects and don’t want to restart your computer every time. In some cases, it is advised that you delete hiberfil.sys when the hard drive is full and memory pressure becomes an issue because it can slow down your PC and make applications run slower. If your PC has at least 8GB of RAM, it should be safe to delete hiberfil.sys if there are no important files in the Windows Hibernate folder or if there are no items marked as ‘read only’.