Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Instructions needed for setting up local AEM dev environment with Docker

Codelime
Level 4
Level 4

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. 

AEM developer Docker eclipse java
1 Accepted Solution
poojac35931336
Correct answer by
Level 4
Level 4

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
poojac35931336
Correct answer by
Level 4
Level 4

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

Codelime
Level 4
Level 4

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).

Nirmal_Jose
Community Advisor
Community 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.

Codelime
Level 4
Level 4
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
Nirmal_Jose
Community Advisor
Community Advisor
As per the github readme, container port 4502 is exposed to port 8080 of localhost. Can you try 8080
Codelime
Level 4
Level 4
@Nirmal_Jose - I tried 8080, but get the "site can't be reached" message.
Codelime
Level 4
Level 4
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.