How to run Alfresco installer in Docker?

I am starting to use Docker, and now I would like to use it to run instances of Alfresco.

I tried installing Alfresco using a single-file installer derived from:

http://wiki.alfresco.com/wiki/Community_file_list_4.2.e (572Mb)

After inserting the installer file and launching the newly created image, I do:

root@3e8b72d208e4:/root# chmod u+x alfresco.sh 
root@3e8b72d208e4:/root# mv alfresco.sh alfresco.bin
root@3e8b72d208e4:/root# ./alfresco.bin 
root@3e8b72d208e4:/root# 

After 1 second, the process. /alfresco.bin ends without output. It should call some installer parameters.

I am running Docker on Ubuntu 13.10 64 bit with 8 GB in RAM. What would be the correct procedure for installing Alfresco in a Docker container using the installer?

+3
source share
1 answer

, bitrock tmpfs, , , .

docker run -i -t -privileged <image> [<command>]

mount none /tmp -t tmpfs

.

.

, , docker. docker build -privileged RUNP. https://github.com/dotcloud/docker/issues/1916 .

+5

All Articles