LiveCode community server on Docker
charles at techstrategies.com.au
Wed Jul 29 13:01:35 CEST 2015
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:
EXPOSE 5000 (put what port you are using here)
COPY yourstandalone /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,
> 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>>
> 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>>
> 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>>
>> 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/
>> 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