Based on Alpine Linux 3.15
The following items need to be added to this directory in order to this image.
- AEM cq-quickstart-6.5.0.jar (from Adobe)
- license.properties (from Adobe)
- AEM 6.5.11 Service Pack (from Adobe)
- ACS Commons 5.1.2 package
- AEM Core Components 2.18.0 package
docker build -t alpine3.15-aem6.5.11author .
docker run -p 4502:4502 -it alpine3.15-aem6.5.11author
docker push my_registry.azurecr.io/alpine3.15-aem6.5.11author:latest
To use this for a local development environment, you can run this container in a WSL2 Ubuntu instance.
- Install WSL2
- Install Ubuntu 20.04 (ARM64)
# run in administrator powershell Invoke-WebRequest -Uri https://aka.ms/wslubuntu2004 -OutFile Ubuntu.appx -UseBasicParsing Import-Module Appx -usewindowspowershell Add-AppxPackage .\Ubuntu.appx
You can additionally use the .wslconfig
file to limit the amount of resources used by WSL. See References for more information.
Example .wslconfig:
[wsl2]
processors=2
memory=4GB
- Copy the
wsl2-docker-bootstrap.sh
script to your Ubuntu WSL2 instance
a. run under your user, not root - Run the script
a../wsl2-docker-bootstrap.sh
b. enter your user password if prompted - Verify docker is installed
a.docker -v
b.service docker status
- Open your Ubuntu WSL2 instance after running the bootstrap script
- Start the container for the first time:
a.docker run -p 4502:4502 -it alpine3.15-aem6.5.11author
- Wait until the instance is up and you can confirm connection
a. check eitherhttp://localhost:4502
orhttp://127.0.0.1:4502
to verify AEM is running
b. additionally, verify from packmgr that the service pack is installed - From the WSL2 terminal, enter
CTRL + C
to stop the instance - Once the prompt returns, verify the container with
docker ps -a
a. this should show all the container information b. write down the NAME of the container for future usage
Check if your container is running:
docker ps -a
Start your container:
docker start container_name_here
Stop your container:
docker stop container_name_here
If you'd like the container to run every time you open the instance, you can install the following cron job:
@reboot cd ~ && docker start container_name_here