#Ankis Bar
#Docker
Create a storage container for configuration files, applications and data (XP_HOME)
$docker run -it --name xp-home enonic/xp-home
Install and start Enonic XP, mounting the xp-home volume
$docker run -d -p 8080:8080 --volumes-from xp-home --name xp-app enonic/xp-app:6.9.4
Deploy to docker container with
$npm run publish-docker
. This will build the .jar file and copy into the xp-app
container created.
Se the logs
$docker logs xp-app
To import some data for development
$./docker/import.sh