This Docker image is intended to be used as the basis for Magnolia light module development and was created using the 'mgnl' command line utility documented here. This image supports both Arm64 (Apple Silicon) and Amd64 (x86_64). It includes all of the necessary tooling to test drive Magnolia DX Author, develop light modules, install connector packs and features like Live Copy, Translation, I18N, etc.
Included Tools:
docker pull mkstevens/base29:latestdocker image ls -adocker run --publish 8080:8080 --detach --name myContainerName --volume /localPathTo/lightModules:/magnolia/light-modules mkstevens/base29--publish 8080:8080 - required to publish the Magnolia UI running on port 8080 to your host. Accessed via http://localhost:8080--detach - runs the docker container in the background--name myContainer - optional, the created container will be named 'myContainer'--volume /localPathTo/lightModules:/magnolia/light-modules - maps your local filesystem into the Container filesystem at /magnolia/light-modules DO NOT modify the /magnolia/light-modules path in the command line.docker container ls -adocker exec -it CONTAINER ID /bin/sh or docker exec -it NAMES /bin/sh from the step above./bin/bash may be substituted as the shellcd magnolia followed by mgnl start.control-c from the same shell window as aboveComing soon!
control-c from the same shell window that was used to start Magnolia DXdocker container stop myContainerName where 'myContainerName' is your Containerdocker container start myContainerName where 'myContainerName' is your ContainerCore concepts
mgnl preinstalled on the Docker Image--volume parameter during Container creationdocker start CONTAINER ID or docker start NAMES if not already starteddocker container ls -a to get a list of all containersdocker exec -it CONTAINER ID /bin/sh or docker exec -it NAMES /bin/sh using the CONTAINER ID or NAMES from above/bin/bash may be substituted as the shellcd magnolia followed by mgnl start.docker exe -it CONTAINER ID /bin/sh or docker exec -it NAMES /bin/sh. You will use this shell window to interact with the Magnolia DX CLI/bin/bash may be substituted as the shellcd magnolia/light-modulesmgnl create-light-module myModuleNamemgnl --help to familiarize yourself to the CLI https://docs.magnolia-cms.com/magnolia-cli/4.x/magnolia-cli.html--volume parameter during Container creation--volume parameter during Container creation and start editing!Content type
Image
Digest
sha256:a9fe36138…
Size
751.6 MB
Last updated
over 3 years ago
docker pull mkstevens/base29