Home > Wagento Way > Development Environment Setup using Magento Cloud Docker – Tutorial

Development Environment Setup using Magento Cloud Docker – Tutorial

J.P.Singh CEO at Wagento Creative LLC

Share:

Grow Your eCommerce

Tell us a little about yourself and we'll guide you through.

"*" indicates required fields

Development-Environment-Setup-using-Magento-Cloud-Docker-Tutorial

In this video, Wagento Commerce Technical Lead Joe Shelton explains how to use the new Magento Cloud Docker configuration to set up a local development environment. He describes the specific steps to take for a setup coinciding with a project already in progress. 

Shelton begins by sharing the three essential assets you must download for the Docker environment setup: the project files, the database, and the media. With these key components downloaded, the next step is to prepare for the Docker configuration files by generating a Docker compose .yml file.

“[This is] the essential file responsible for defining which containers will be a part of the Docker environment,” Shelton explains. “the .yml ordinarily defines what       services will be available in the cloud environment, and the Docker build tool ensures that those same services are available in your local environment.” 

In the next part of the tutorial, Shelton explains how to customize the Docker configuration. The first step is to take a distributable file and create a customizable file as a template. Next, Shelton shares how to apply project-specific names, change the URL, and rename the volume that the project’s files sync to.

After the customization step, it’s time to set up the Docker environment. Shelton shares that this can be done with two simple commands.

“The first is docker sync,” Shelton explains, “which will perform the initial sync of project files from the host machine to the docker environment.”

After this, it’s necessary to examine the containers that belong to the environment.

At this point, Shelton says the process is nearly complete—all you may want to do is generate an env.php file to connect to your environment.

Magento gives you a pretty easy way to do this,” Shelton says. “Just like the deployment process of a cloud environment, the env.php file will be regenerated with connection information for the services active in our local environment.”

In the final portion of the tutorial, Shelton reminds us to view the locally-running project website in a browser.

“Now that your docker environment is set up, you’ll want to continue using it for the days, weeks, or months to come while you build or maintain your website,” Shelton concludes. “The good news is none of the steps outlined in the video will need to be repeated.”

Table of Contents

Grow Your eCommerce

"*" indicates required fields

J.P.Singh CEO at Wagento Creative LLC

About the Author

JP Singh is a visionary global leader and entrepreneur with over 20 years of experience in IT, specializing in web and eCommerce strategy. As the founder of eWay Corp and the driving force behind Wagento Commerce, JP delivers innovative, technology-driven solutions that help businesses thrive in the digital era. Since founding eWay Corp in 2005, JP has expanded his global influence, championing diversity and women in leadership roles. His companies provide tailored digital solutions for small and midsize businesses worldwide. Known for his forward-thinking vision and approachable leadership, JP continues to inspire and drive success.

Talk to a Wagento
Expert Today

Talk to a Wagento
Expert Today

Related Topics

Move Your Business Online Quickly with Magento

Summary This article explains how the pandemic has accelerated the shift to online shopping and why small businesses need a fast, robust ecommerce presence. It highlights Magento’s strengths—customization, ease of use, headless flexibility (headless commerce), and a strong developer community—then outlines practical steps: adopting a headless, API-based setup; enabling Click & Collect and diverse shipping; […]

Proactive Website Support & Maintenance in 2026

Why Modern Businesses Can No Longer Afford to Be Reactive How expert support, continuous monitoring, and predictive maintenance protect revenue, performance, and trust in today’s digital-first economy. Get Ahead of Website Issues Before They Impact Revenue Request a Website Health Assessment The State of Website Support in 2026 Website support and maintenance in 2026 looks […]

In-House vs. Agency PIM Integration: Finding the Right Fit for Your Business

Your products are the heart of your business. Shouldn’t they have a system for data centralization? PIM integration provides a powerful solution by centralizing product data, ensuring it is consistent, accurate, and ready to be distributed seamlessly across all channels. The decision to implement a Product Information Management (PIM) system is a significant milestone for […]