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 <[email protected]> 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, [email protected] wrote: > > > > From: David Bovill <[email protected] <mailto:[email protected]>> > > Subject: Re: LiveCode community server on Docker > > Date: 29 July 2015 7:43:40 pm AEST > > To: How to use LiveCode <[email protected] <mailto: > [email protected]>> > > > > > > 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 <[email protected] > <mailto:[email protected]>> > > 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 > >> [email protected] <mailto:[email protected]> > >> 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 > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
