Expand my Community achievements bar.

SOLVED

Instructions needed for setting up local AEM dev environment with Docker

Avatar

Level 5

I'm looking for instructions on how to set up a local development environment from scratch on a brand new Windows 10 machine using the latest image of this: https://hub.docker.com/r/aemdesign/aem. Do detailed instructions exist for a relatively newbie that includes step-by-step instructions, i.e., install Docker, install the latest Java JDK, what folders to install programs, etc.? I found several helpful articles, but they contain prerequisite assumptions with terms and concepts that I'm not quite familiar with... yet. Thanks for any help or guidance. 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 5

For learning you can refer any good udemy course. Here is the one I  followed docker-and-kubernetes-the-complete-guide.

Afte that you can start using the above image easily.

View solution in original post

8 Replies

Avatar

Correct answer by
Level 5

For learning you can refer any good udemy course. Here is the one I  followed docker-and-kubernetes-the-complete-guide.

Afte that you can start using the above image easily.

Avatar

Community Advisor

If you are looking for AEM as a cloud service setup then refer http://aemlab.blogspot.com/2020/09/aemaacs-setup.html



Arun Patidar

Avatar

Level 5

I'm looking to create a local dev environment in Windows 10 Pro with AEM accessible at http://localhost:4502 (author) and http://localhost:4503 (publish).

Avatar

Employee Advisor

Containerised solutions create repeatable infrastructure. Having a container to bring up a consistent local instance is a great idea and the image you have selected is the right image for it. The image has a capability to spin a vanilla AEM instance and then install a set of packages in some path like google drive. You can follow the same route to put your own application code package and a slim content package into the instance. To use it, the steps for windows will be.

 

1. Install https://docs.docker.com/docker-for-windows/install-windows-home/ 

2. Checkout https://github.com/aem-design/docker-aem and read further to understand how it works. 

3. If you need a vanilla instance just run the commands mentioned

4. If you want to customise further, clone the repo and updates the scripts, create your own image and use it.

Avatar

Level 5
I've tried for days to get AEM running in localhost, but something is amiss. I have the "author" instance for aemdesign/aem running on the Docker Dashboard, but when I try to navigate to localhost:4502, I get the following: HTTP ERROR 404 Problem accessing /. Reason: Not Found

Avatar

Employee Advisor
As per the github readme, container port 4502 is exposed to port 8080 of localhost. Can you try 8080

Avatar

Level 5
@Nirmal_Jose - I tried 8080, but get the "site can't be reached" message.

Avatar

Level 5
I don't get it. Suddenly http://localhost:4502/system/granite/license/index.html resolves. It took me to the licensing form where I had to re-enter my name and key. I need to create a quick guide for myself on how to get AEM up and running in Docker.