Build Author and Publish AEM containers and put them on the same network using docker-compose. Updates and pull requests are highly encouraged.
- Docker (Docker Toolbox)
- A valid license.properties file.
- AEM_6.1_Quickstart.jar
- Docker Toolbox is the easiest way to get Docker running on OS X and Windows.
- Download a copy of the AEM jar file, make sure it's named AEM_6.1_Quickstart.jar, and place it in this directory.
- Get a valid license.properties file and place it in this directory.
docker-compose -p myproject --x-networking up -d
- On first run it will build an image.
- Author will be bound to 4502, Publish will be bound to 4503
- license.properties will be mounted on each container at /opt/aem
- The
-p myproject
flag makes a docker bridge network named myproject. You can verify this by typingdocker network ls
.
docker-compose -p myproject stop
- If you get a message saying
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
you can runeval "$(docker-machine env default)"
to connect to your Default VirtualBox VM.