LiveCode community server on Docker

Charles Warwick charles at techstrategies.com.au
Wed Jul 29 07:51:15 EDT 2015


For local testing (on a mac), I use boot2docker…  I also have some servers in Amazon AWS that run docker for cloud based stuff.

I’m happy to help out if you want to use it for some testing.  Send me an e-mail directly and we can discuss.


> On 29 Jul 2015, at 9:07 pm, David Bovill <david at viral.academy> wrote:
> 
> That helps a lot. I'll let you know how it progresses :) By the way - where
> are you hosting the docker with? I wouldn't mind giving your docker a spin
> :)
> 
> On 29 July 2015 at 12:01, Charles Warwick <charles at techstrategies.com.au <mailto:charles at techstrategies.com.au>>
> wrote:
> 
>> 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-request at lists.runrev.com wrote:
>>> 
>>> From: David Bovill <david at viral.academy <mailto:david at viral.academy> <mailto:david at viral.academy <mailto:david at 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 at lists.runrev.com <mailto:use-livecode at lists.runrev.com> <mailto:
>> use-livecode at lists.runrev.com <mailto:use-livecode at 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 <charles at techstrategies.com.au <mailto:charles at techstrategies.com.au>
>> <mailto:charles at techstrategies.com.au <mailto:charles at 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/>> <
>>>> 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 at lists.runrev.com <mailto:use-livecode at lists.runrev.com> <mailto:use-livecode at lists.runrev.com <mailto:use-livecode at 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> <
>> http://lists.runrev.com/mailman/listinfo/use-livecode <http://lists.runrev.com/mailman/listinfo/use-livecode>>
>>>> 
>>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com <mailto:use-livecode at 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 at lists.runrev.com <mailto:use-livecode at 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>



More information about the use-livecode mailing list