Hi David,

Setting up a Docker image is fairly simple.  I am guessing you are wanting to 
run a LiveCode Linux standalone in a Docker container that listens on a 
particular port?

In that case, it would be a matter of configuring a Dockerfile that uses a base 
Docker image for whatever distro you prefer, copies the standalone into it, and 
sets it to execute on startup of the container…  For what you are doing the 
Dockerfile might look something like:

—
FROM: ubuntu:14.04

EXPOSE 5000 (put what port you are using here)

COPY yourstandalone /linux/path/to/yourstandalone

ENTRYPOINT [“/linux/path/to/yourstandalone”]
CMD [“-p parameter”, “-y another parameter”]
—

Then, making sure that the Dockerfile and standalone are in the current 
directory, build it…. "docker build -t image name ."

Hope that helps,

Charles


> On 29 Jul 2015, at 8:00 pm, use-livecode-requ...@lists.runrev.com wrote:
> 
> From: David Bovill <david@viral.academy <mailto:david@viral.academy>>
> Subject: Re: LiveCode community server on Docker
> Date: 29 July 2015 7:43:40 pm AEST
> To: How to use LiveCode <use-livecode@lists.runrev.com 
> <mailto:use-livecode@lists.runrev.com>>
> 
> 
> Wonderful. I'd love to know the steps it took. I've nearly got an alpha of
> the Livecode Daemon working, and I want to test that as a Docker.
> 
> On 29 July 2015 at 08:17, Charles Warwick <char...@techstrategies.com.au 
> <mailto:char...@techstrategies.com.au>>
> wrote:
> 
>> Hi All,
>> 
>> In case anyone is interested, I have uploaded a Docker image with Apache +
>> LiveCode Community Server installed to the Docker Hub registry .
>> 
>> https://registry.hub.docker.com/u/techstrategies/livecode/ 
>> <https://registry.hub.docker.com/u/techstrategies/livecode/> <
>> https://registry.hub.docker.com/u/techstrategies/livecode/ 
>> <https://registry.hub.docker.com/u/techstrategies/livecode/>>
>> 
>> To use, simply run the following command from the directory where you have
>> your LiveCode scripts:
>> 
>>        docker run -it --rm -P --name livecode -v "$PWD":/var/www/html/
>> techstrategies/livecode:7.0.6
>> 
>> Cheers,
>> 
>> Charles
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode 
>> <http://lists.runrev.com/mailman/listinfo/use-livecode>
>> 
> 

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to